mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-11-03 17:02:13 +01:00
Add com.samsung.android.incallui to handleCallNotification blacklist
This commit is contained in:
parent
9ca3fff101
commit
ed6b2e44b9
@ -494,7 +494,7 @@ public class NotificationListener extends NotificationListenerService {
|
|||||||
private void handleCallNotification(StatusBarNotification sbn) {
|
private void handleCallNotification(StatusBarNotification sbn) {
|
||||||
String app = sbn.getPackageName();
|
String app = sbn.getPackageName();
|
||||||
LOG.debug("got call from: " + app);
|
LOG.debug("got call from: " + app);
|
||||||
if (app.equals("com.android.dialer") || app.equals("com.android.incallui") || app.equals("com.google.android.dialer") || app.equals("com.asus.asusincallui")) {
|
if (app.equals("com.android.dialer") || app.equals("com.android.incallui") || app.equals("com.google.android.dialer") || app.equals("com.asus.asusincallui") || app.equals("com.samsung.android.incallui")) {
|
||||||
LOG.debug("Ignoring non-voip call");
|
LOG.debug("Ignoring non-voip call");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user