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