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

Commit ad9ac22a authored by Fyodor Kupolov's avatar Fyodor Kupolov Committed by android-build-merger
Browse files

Merge "Deprecate unnecessairy Notification.Style constructors" into nyc-dev...

Merge "Deprecate unnecessairy Notification.Style constructors" into nyc-dev am: d15cc7a8 am: 3067da37
am: a371f51a

* commit 'a371f51a':
  Additional clean up in onUserRemovedLPw

Change-Id: I28d6928d630538752a4f336109f3bd2582a0c7c8
parents 4be7eaeb a371f51a
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -4029,7 +4029,7 @@ final class Settings {
        file.delete();
        removeCrossProfileIntentFiltersLPw(userId);

        mRuntimePermissionsPersistence.onUserRemoved(userId);
        mRuntimePermissionsPersistence.onUserRemovedLPw(userId);

        writePackageListLPr();
    }
@@ -5134,7 +5134,7 @@ final class Settings {
            }
        }

        private void onUserRemoved(int userId) {
        private void onUserRemovedLPw(int userId) {
            // Make sure we do not
            mHandler.removeMessages(userId);

@@ -5145,6 +5145,9 @@ final class Settings {
            for (SettingBase sb : mSharedUsers.values()) {
                revokeRuntimePermissionsAndClearFlags(sb, userId);
            }

            mDefaultPermissionsGranted.delete(userId);
            mFingerprints.remove(userId);
        }

        private void revokeRuntimePermissionsAndClearFlags(SettingBase sb, int userId) {