Merge "Don't crash during app uninstall." into oc-dev
am: 661b6badef
Change-Id: Iceab4bdd88e348c4bd4019ee1fb6c7c8b3f5baf1
This commit is contained in:
@@ -1040,6 +1040,11 @@ public class ApplicationsState {
|
||||
|
||||
final IPackageStatsObserver.Stub mStatsObserver = new IPackageStatsObserver.Stub() {
|
||||
public void onGetStatsCompleted(PackageStats stats, boolean succeeded) {
|
||||
if (!succeeded) {
|
||||
// There is no meaningful information in stats if the call failed.
|
||||
return;
|
||||
}
|
||||
|
||||
boolean sizeChanged = false;
|
||||
synchronized (mEntriesMap) {
|
||||
if (DEBUG_LOCKING) Log.v(TAG, "onGetStatsCompleted acquired lock");
|
||||
|
||||
Reference in New Issue
Block a user