OSDN Git Service

Move lagging users over to new storage API.
authorJeff Sharkey <jsharkey@android.com>
Wed, 8 Mar 2017 20:57:15 +0000 (13:57 -0700)
committerJeff Sharkey <jsharkey@android.com>
Wed, 8 Mar 2017 20:57:29 +0000 (13:57 -0700)
commit60f95aa00a24c8f8548726bf2f30c951a4efe20a
tree76d0b48a8e42a974583fb9f9750426338d32d679
parented8b4c7a09a737e16a81a132da8d35a94fdf460e
Move lagging users over to new storage API.

Over the last month we've been moving everyone over to the new
StorageStatsManager public APIs, but we missed these users.

The ApplicationsState changes are straightforward, but we had to
completely rewrite StorageMeasurement to use the new fast-path
quota APIs.

Test: builds, boots, UI using StorageMeasurement works.
Bug: 36056120
Change-Id: If02177c95bf8c96ae4eceac4d631a168f99bef84
api/current.txt
api/system-current.txt
api/test-current.txt
core/java/android/content/pm/PackageManager.java
core/java/android/content/pm/PackageStats.java
packages/SettingsLib/src/com/android/settingslib/applications/ApplicationsState.java
packages/SettingsLib/src/com/android/settingslib/deviceinfo/StorageMeasurement.java