History log of /packages/apps/Settings/src/com/android/settings/applications/FetchPackageStorageAsyncLoader.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
b80f1ddaf04d07d47cead4de2422c4627573ea50 17-Apr-2017 Jeff Sharkey <jsharkey@android.com> Follow storage API polishing.

Test: cts-tradefed run commandAndExit cts-dev -m CtsAppSecurityHostTestCases -t android.appsecurity.cts.StorageHostTest
Bug: 37325923, 35812899, 35806020
Change-Id: I4965b7391018354157f0683a643a14c5e9cd338d
/packages/apps/Settings/src/com/android/settings/applications/FetchPackageStorageAsyncLoader.java
6a256e77d624967470f60c68dab6d5447e8a24cb 02-Mar-2017 Daniel Nishi <dhnishi@google.com> Fix a crash when transferring an app.

This crash occurs because the background loader is loading
the storage for an app which is currently being moved off of
the device. In the native code which is calculating the storage,
it throws an InstallerException which is caught and rethrown as an
IllegalStateException.

We handle this in the view by reporting that we could not calculate
the size of the app.

Change-Id: I109b1be60ae60f8ef31b08cb4392b576261fa806
Fixes: 35922033
Test: Robotest
/packages/apps/Settings/src/com/android/settings/applications/FetchPackageStorageAsyncLoader.java
3344782bac06e871dd7da1c721cb299861f6b6ce 24-Feb-2017 Daniel Nishi <dhnishi@google.com> Use storage fast track to query packages in app info.

App info used to use the old ApplicationsState path. This
removes the size query and replaces it with an AsyncTask to
load the sizes.

Fixes: 35805032
Test: Robotest
Change-Id: Ica1c88da2b407c3cbd4d7f970c7c44e4064393b3
/packages/apps/Settings/src/com/android/settings/applications/FetchPackageStorageAsyncLoader.java