Merge "Merge "Update persist cache when package updated." am: a4a9679c1c am: 28008bf749 am: 150fe741f6" into udc-dev

This commit is contained in:
Automerger Merge Worker
2023-03-22 18:55:48 +00:00
committed by Android (Google) Code Review

View File

@@ -1094,6 +1094,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) {