Merge "Update persist cache when package updated." am: a4a9679c1c
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2473568 Change-Id: I4253f0d044cc897a1dabad4bbd77e38bac69d2d6 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user