Merge "Update persist cache when package updated." am: a4a9679c1c am: 28008bf749
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2473568 Change-Id: Ie54b07ee0c0b2e36887aa69e54c97ce476e40643 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) {
|
synchronized (mLock) {
|
||||||
mUidToPackageCache.remove(uid);
|
mUidToPackageCache.remove(uid);
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
synchronized (mJobSchedulerStub.mPersistCache) {
|
||||||
|
mJobSchedulerStub.mPersistCache.remove(pkgUid);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
} else if (Intent.ACTION_PACKAGE_FULLY_REMOVED.equals(action)) {
|
} else if (Intent.ACTION_PACKAGE_FULLY_REMOVED.equals(action)) {
|
||||||
if (DEBUG) {
|
if (DEBUG) {
|
||||||
|
|||||||
Reference in New Issue
Block a user