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

Commit 81b6aee2 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

am: 69ce2e94

Change-Id: Ifa7706c66b781aebb8201cf1702f0e030aa27d61
parents 8877e2ef 69ce2e94
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -67,7 +67,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) {