mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-12-24 17:45:50 +01:00
Ignore com.android.incallui when handling voip call notifications
Hopefully helps with #1881
This commit is contained in:
parent
7939607beb
commit
0115575317
@ -467,7 +467,7 @@ public class NotificationListener extends NotificationListenerService {
|
||||
private void handleCallNotification(StatusBarNotification sbn) {
|
||||
String app = sbn.getPackageName();
|
||||
LOG.debug("got call from: " + app);
|
||||
if(app.equals("com.android.dialer")) {
|
||||
if (app.equals("com.android.dialer") || app.equals("com.android.incallui")) {
|
||||
LOG.debug("Ignoring non-voip call");
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user