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

Commit 57d53712 authored by Jason Monk's avatar Jason Monk
Browse files

Don't make Settings' content providers no release.

Test: Settings no longer in memory
Bug: 110985973
Change-Id: I80570ad52cd986083d735c1b6c0d8b34d7feb58f
parent cf0b1271
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) {