Treat sony SMS app as such for notifications.
This commit is contained in:
parent
6582ead01c
commit
9acdefd5c1
|
@ -164,7 +164,7 @@ public class NotificationListener extends NotificationListenerService {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (source.equals("com.moez.QKSMS") || source.equals("com.android.mms")) {
|
if (source.equals("com.moez.QKSMS") || source.equals("com.android.mms") || source.equals("com.sonyericsson.conversations")) {
|
||||||
if (!"never".equals(sharedPrefs.getString("notification_mode_sms", "when_screen_off"))) {
|
if (!"never".equals(sharedPrefs.getString("notification_mode_sms", "when_screen_off"))) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -201,6 +201,7 @@ public class NotificationListener extends NotificationListenerService {
|
||||||
break;
|
break;
|
||||||
case "com.moez.QKSMS":
|
case "com.moez.QKSMS":
|
||||||
case "com.android.mms":
|
case "com.android.mms":
|
||||||
|
case "com.sonyericsson.conversations":
|
||||||
notificationSpec.type = NotificationType.SMS;
|
notificationSpec.type = NotificationType.SMS;
|
||||||
break;
|
break;
|
||||||
case "eu.siacs.conversations":
|
case "eu.siacs.conversations":
|
||||||
|
|
Loading…
Reference in New Issue