Merge "Allow the default SMS app to be blocked" into qt-dev am: aaecede217
am: c70cdc69b5
Change-Id: I119e6b4b56cdbd8b9cd15cc970f103bf20a6e930
This commit is contained in:
@@ -98,8 +98,7 @@ public class NotificationBackend {
|
||||
AppRow row) {
|
||||
row.systemApp = Utils.isSystemPackage(context.getResources(), pm, app);
|
||||
List<String> roles = rm.getHeldRolesFromController(app.packageName);
|
||||
if (roles.contains(RoleManager.ROLE_SMS)
|
||||
|| roles.contains(RoleManager.ROLE_DIALER)
|
||||
if (roles.contains(RoleManager.ROLE_DIALER)
|
||||
|| roles.contains(RoleManager.ROLE_EMERGENCY)) {
|
||||
row.systemApp = true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user