OSDN Git Service

Iteration on multi-user Storage UI.
authorJeff Sharkey <jsharkey@android.com>
Thu, 13 Sep 2012 01:41:25 +0000 (18:41 -0700)
committerJeff Sharkey <jsharkey@android.com>
Thu, 13 Sep 2012 08:13:48 +0000 (01:13 -0700)
commitda13ec0cb454f1aadada2acf12291cfaf0a7b176
treeaa8b3815d6b0b644fcbbf0a9e4d51119b1a125cc
parentfc76a78c458ac90d7e050ffc233cf9e32a2d9c0b
Iteration on multi-user Storage UI.

Now that DefaultContainerService has visibility of external storage
for all users, we can measure internal storage in a single pass.
Internal storage measurement now iterates across all known users,
counting both apps and emulated storage usage.

Create MeasurementDetails object with documentation about what is
counted under various device configurations.  Generalize to measure
each Environment.DIRECTORY separately, so it can be combined as
needed.  General cleanup of how measurements are passed to UI.

Bug: 7003520
Change-Id: Ib89c185296a0c9debdc20beeaa98584d803a84e8
Android.mk
res/values/strings.xml
src/com/android/settings/deviceinfo/Memory.java
src/com/android/settings/deviceinfo/MiscFilesHandler.java
src/com/android/settings/deviceinfo/StorageItemPreference.java
src/com/android/settings/deviceinfo/StorageMeasurement.java
src/com/android/settings/deviceinfo/StorageVolumePreferenceCategory.java