OSDN Git Service

Use storage fast track to query packages in app info.
authorDaniel Nishi <dhnishi@google.com>
Fri, 24 Feb 2017 21:59:49 +0000 (13:59 -0800)
committerDaniel Nishi <dhnishi@google.com>
Wed, 1 Mar 2017 02:36:34 +0000 (18:36 -0800)
commit3344782bac06e871dd7da1c721cb299861f6b6ce
tree8b00be3fc7267466ea7a6768f63d7dc2cc0aca54
parenta24d7d4ccd7d5f43534e734c1d8116bd69796e81
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
src/com/android/settings/applications/AppStorageSettings.java
src/com/android/settings/applications/FetchPackageStorageAsyncLoader.java [new file with mode: 0644]
tests/robotests/src/com/android/settings/applications/FetchPackageStorageAsyncLoaderTest.java [new file with mode: 0644]