Merge "Update persist cache when package updated."

This commit is contained in:
Kweku Adams 2023-03-22 15:45:37 +00:00 committed by Gerrit Code Review
commit a4a9679c1c

View File

@ -906,6 +906,10 @@ public class JobSchedulerService extends com.android.server.SystemService
synchronized (mLock) {
mUidToPackageCache.remove(uid);
}
} else {
synchronized (mJobSchedulerStub.mPersistCache) {
mJobSchedulerStub.mPersistCache.remove(pkgUid);
}
}
} else if (Intent.ACTION_PACKAGE_FULLY_REMOVED.equals(action)) {
if (DEBUG) {