OSDN Git Service

Storage stats on external SD card in Settings.
authorGilles Debunne <debunne@google.com>
Thu, 19 May 2011 17:34:14 +0000 (10:34 -0700)
committerGilles Debunne <debunne@google.com>
Wed, 25 May 2011 19:12:22 +0000 (12:12 -0700)
commit104ea2873dff5fa3a5f6bd4cfdb893bac3527fdf
treeba7af0d0514cc858172dbe1819ccac4a7b0e740c
parentce116503a7ca08302711fc77f6b21f2fbbe3e76e
Storage stats on external SD card in Settings.

Storage categories are dynamically created from list of StorageVolumes instead
of a static XML.

Unknown files' sizes are part of Misc rather than Apps.

Categories with a size of 0 are removed.

TODO : remove the notion of a "nosdcard" product. Change strings accordingly.
See all TODO in code

Change-Id: I017ac20f5fa50ad9bdeba8e666754ec84acf3858
res/values/colors.xml
res/values/strings.xml
res/xml/device_info_memory.xml
src/com/android/settings/deviceinfo/Constants.java [deleted file]
src/com/android/settings/deviceinfo/Memory.java
src/com/android/settings/deviceinfo/MemoryMeasurement.java [deleted file]
src/com/android/settings/deviceinfo/MiscFilesHandler.java
src/com/android/settings/deviceinfo/PercentageBarChart.java
src/com/android/settings/deviceinfo/StorageMeasurement.java [new file with mode: 0644]
src/com/android/settings/deviceinfo/StorageVolumePreferenceCategory.java [new file with mode: 0644]