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

Commit 2aeb16e7 authored by Alison Cichowlas's avatar Alison Cichowlas Committed by Android (Google) Code Review
Browse files

Merge "RONs: Settings behavior matches enforcement not API." into main

parents 9c0c5a8f 3137e99a
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -54,11 +54,6 @@ public class PromotedNotificationsPreferenceController extends
    }

    private boolean isPermissionRequested() {

        if (!Flags.apiRichOngoingPermission()) {
            return true;
        }

        try {
            PackageInfo packageInfo = mPm.getPackageInfo(
                    mAppRow.pkg, PackageManager.GET_PERMISSIONS);