Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c70cdc69 authored by Julia Reynolds's avatar Julia Reynolds Committed by android-build-merger
Browse files

Merge "Allow the default SMS app to be blocked" into qt-dev

am: aaecede2

Change-Id: I0169d6fece78c05431a691d6b94033ed1da97978
parents 1e3eb21b aaecede2
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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;
        }