Merge "Update persist cache when package updated."
This commit is contained in:
commit
a4a9679c1c
@ -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) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user