Loading packages/SettingsLib/src/com/android/settingslib/applications/ApplicationsState.java +19 −10 Original line number Diff line number Diff line Loading @@ -984,6 +984,7 @@ public class ApplicationsState { mCurComputingSizeUserId = UserHandle.getUserId(entry.info.uid); mBackgroundHandler.post(() -> { try { final StorageStats stats = mStats.queryStatsForPackage( mCurComputingSizeUuid, mCurComputingSizePkg, UserHandle.of(mCurComputingSizeUserId)); Loading @@ -996,6 +997,14 @@ public class ApplicationsState { mStatsObserver.onGetStatsCompleted(legacyStats, true); } catch (RemoteException ignored) { } } catch (IllegalStateException e) { Log.e(TAG,"An exception occurred while fetching app size", e); try { mStatsObserver.onGetStatsCompleted(null, false); } catch (RemoteException ignored) { } } }); } if (DEBUG_LOCKING) Log.v(TAG, "MSG_LOAD_SIZES releasing: now computing"); Loading Loading
packages/SettingsLib/src/com/android/settingslib/applications/ApplicationsState.java +19 −10 Original line number Diff line number Diff line Loading @@ -984,6 +984,7 @@ public class ApplicationsState { mCurComputingSizeUserId = UserHandle.getUserId(entry.info.uid); mBackgroundHandler.post(() -> { try { final StorageStats stats = mStats.queryStatsForPackage( mCurComputingSizeUuid, mCurComputingSizePkg, UserHandle.of(mCurComputingSizeUserId)); Loading @@ -996,6 +997,14 @@ public class ApplicationsState { mStatsObserver.onGetStatsCompleted(legacyStats, true); } catch (RemoteException ignored) { } } catch (IllegalStateException e) { Log.e(TAG,"An exception occurred while fetching app size", e); try { mStatsObserver.onGetStatsCompleted(null, false); } catch (RemoteException ignored) { } } }); } if (DEBUG_LOCKING) Log.v(TAG, "MSG_LOAD_SIZES releasing: now computing"); Loading