mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-12-25 18:15:49 +01:00
set type to SMS when receiving an SMS via generic notification listener
This commit is contained in:
parent
1d41f2f8e4
commit
94ad7f2eb9
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user