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

Commit 97e12736 authored by Paul Navin's avatar Paul Navin Committed by android-build-merger
Browse files

DO NOT MERGE Change permissions review mode check.

am: 59bd89fa

Change-Id: Icf3fa8e171d68e6878001529a496875f52f38909
parents 8beca4cc 59bd89fa
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -62,6 +62,7 @@ import android.graphics.Rect;
import android.graphics.drawable.BitmapDrawable;
import android.graphics.drawable.Drawable;
import android.net.Uri;
import android.os.Build;
import android.os.Bundle;
import android.os.Handler;
import android.os.Looper;
@@ -293,7 +294,7 @@ public class ApplicationPackageManager extends PackageManager {

    @Override
    public boolean isPermissionReviewModeEnabled() {
        return mContext.getResources().getBoolean(
        return Build.PERMISSIONS_REVIEW_REQUIRED || mContext.getResources().getBoolean(
                com.android.internal.R.bool.config_permissionReviewRequired);
    }