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

Commit 69ce2e94 authored by Jason Monk's avatar Jason Monk Committed by android-build-merger
Browse files

Merge "Don't make Settings' content providers no release." into pi-dev

am: c93ab691

Change-Id: Ifabcb4890086da8ac7ef4cd4d4cc3cf530750a43
parents 0678660c c93ab691
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -62,7 +62,8 @@ final class ContentProviderRecord implements ComponentName.WithComponentName {
        appInfo = ai;
        name = _name;
        singleton = _singleton;
        noReleaseNeeded = uid == 0 || uid == Process.SYSTEM_UID;
        noReleaseNeeded = (uid == 0 || uid == Process.SYSTEM_UID)
                && (_name == null || !"com.android.settings".equals(_name.getPackageName()));
    }

    public ContentProviderRecord(ContentProviderRecord cpr) {