mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2025-06-05 21:49:48 +02:00
set type to SMS when receiving an SMS via generic notification listener
This commit is contained in:
@@ -173,6 +173,7 @@ public class NotificationListener extends NotificationListenerService {
|
||||
notificationSpec.type = NotificationType.EMAIL;
|
||||
break;
|
||||
case "com.moez.QKSMS":
|
||||
case "com.android.mms":
|
||||
notificationSpec.type = NotificationType.SMS;
|
||||
break;
|
||||
case "eu.siacs.conversations":
|
||||
|
@@ -46,6 +46,7 @@ public class PebbleReceiver extends BroadcastReceiver {
|
||||
}
|
||||
|
||||
NotificationSpec notificationSpec = new NotificationSpec();
|
||||
notificationSpec.id = -1;
|
||||
|
||||
String notificationData = intent.getStringExtra("notificationData");
|
||||
try {
|
||||
|
Reference in New Issue
Block a user