History log of /packages/apps/Settings/src/com/android/settings/deviceinfo/MiscFilesHandler.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
aee4b75abac61a9e2755eba27fea9d344e6ae80a 15-May-2012 Predrag Stanojevic <predrag.stanojevic@sonymobile.com> Force closed at settings application when delete Misc files

NullPointerException in MiscFilesHandler.java, missing check to
ensure that dir.list() does not return null.

Change-Id: I13aac19949826b385610fd1fee2befb411684023
/packages/apps/Settings/src/com/android/settings/deviceinfo/MiscFilesHandler.java
da13ec0cb454f1aadada2acf12291cfaf0a7b176 13-Sep-2012 Jeff Sharkey <jsharkey@android.com> 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
/packages/apps/Settings/src/com/android/settings/deviceinfo/MiscFilesHandler.java
96c2f8c50865e823e710be4d92f1589f978f03c2 07-Sep-2012 Jeff Sharkey <jsharkey@android.com> Progress towards split storage categories.

Cleans up StorageVolumePreferenceCategory creation, and uses new
isPrimary() API instead of passing around hacky "i == 0" derived
value.

Bug: 7003520
Change-Id: I9eb7164035b5368ee795e35b22e750aebbf3b159
/packages/apps/Settings/src/com/android/settings/deviceinfo/MiscFilesHandler.java
90c8b20ccfd8f2e877bfac7cf3e883631af7a3e3 31-Aug-2012 Jeff Sharkey <jsharkey@android.com> Surface storage usage of other users.

Bring up separate StorageMeasurement sessions bound to other users
on device, and surface their total usage as teal colors. Exclude
app code size when measuring secondary users. Shift preferences to
using keys instead of fragile index ordering.

Bug: 7003520
Change-Id: I214d0b223e53955df71104502596743f049f2027
/packages/apps/Settings/src/com/android/settings/deviceinfo/MiscFilesHandler.java
6d36fd3a03299b9b1bdaaceef2bfaa8714c3fa72 26-May-2011 Gilles Debunne <debunne@google.com> Erase SD Card fixed in Settings/Storage.

Adding the StorageVolume to the format intent.

Change-Id: If1a50a2d5c5154e9f00116db536c62324c447e7c
/packages/apps/Settings/src/com/android/settings/deviceinfo/MiscFilesHandler.java
104ea2873dff5fa3a5f6bd4cfdb893bac3527fdf 19-May-2011 Gilles Debunne <debunne@google.com> 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
/packages/apps/Settings/src/com/android/settings/deviceinfo/MiscFilesHandler.java
8128ff8cbe239c1d50f8ba12cf375c754862df0a 25-Feb-2011 Vasu Nori <vnori@google.com> replace some ugly code with not-too-ugly code..

replaced this kind of code
string + " " + number + "out of" + " " + number
with this
String.format("%1$d out of %2$d", number, number);

Change-Id: If1cc296da48dd6823e9081a55b6eab2e3fcee552
/packages/apps/Settings/src/com/android/settings/deviceinfo/MiscFilesHandler.java
21809740f2fd8fe8df4e300e5d1d15f0ccedbb5f 25-Jan-2011 Vasu Nori <vnori@google.com> display amount of storage on /sdcard by downloads, music etc

when music storage usage is clicked on, show music app
when downloads storage usage is clicked on, show download app
when pic/videos storage usage is clicked on, show gallery app

Change-Id: Ia1c341013e550acb537e6f8a4f4558030888cc45
/packages/apps/Settings/src/com/android/settings/deviceinfo/MiscFilesHandler.java