History log of /packages/apps/Settings/src/com/android/settings/deviceinfo/Memory.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
6ad2e323f7733f39c6757a19a9ae9f5020cf9225 28-Mar-2013 Maggie Benthall <mbenthall@google.com> When user has DISALLOW_USB_FILE_TRANSFER set, disable settings controls.

Under Settings > Storage, remove the "USB computer connection" menu item.
In case someone launches the UsbSettings screen instead, also disable those checkboxes.

Change-Id: I59ec8b16bed4670beeac8d359e5368e4a659061b
/packages/apps/Settings/src/com/android/settings/deviceinfo/Memory.java
e6c5003278184c202833209164ddf1ae8c083f12 06-Mar-2013 Jeff Sharkey <jsharkey@android.com> Remove guava dependency to speed up build.

Change-Id: I4cee4b6324e72e94c1241e10f3cdc507d65512cd
/packages/apps/Settings/src/com/android/settings/deviceinfo/Memory.java
0e9cf8a723c3e03207e905e8e03303ec4b5526dc 24-Sep-2012 Jeff Sharkey <jsharkey@android.com> Storage item to represent cached data.

When touched, offers to clear all cached data.

Bug: 7216370
Change-Id: I86afe66b819fb7deeba909bef507925fc5a590f3
/packages/apps/Settings/src/com/android/settings/deviceinfo/Memory.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/Memory.java
fc76a78c458ac90d7e050ffc233cf9e32a2d9c0b 12-Sep-2012 Jeff Sharkey <jsharkey@android.com> Include user identifier in external storage paths.

When building external storage paths, always include user in path
to enable cross-user paths and aid debugging.

Mostly changes so Storage doesn't crash; will take another UI
iteration pass soon.

Bug: 7131382
Change-Id: If7ec807f12a36eb8ed02a0fb94e8a0b3a6694f16
/packages/apps/Settings/src/com/android/settings/deviceinfo/Memory.java
04df8b77a40c06488a954a22cc5be638179b7747 07-Sep-2012 Jeff Sharkey <jsharkey@android.com> Iteration on multi-user storage UI.

Adds headers to distinguish between current and other users. Also
correctly orders color chips.

Bug: 7003520
Change-Id: I871f1a38d41dad5a5f7d97d91d2ebaac5951066c
/packages/apps/Settings/src/com/android/settings/deviceinfo/Memory.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/Memory.java
1183f487c8ea8660415fcd30914844e8dc2de2bb 23-Aug-2012 Jean-Baptiste Queru <jbq@google.com> Merge "MTP/PTP: disable erasing/unmount operation for SD card while MTP/PTP is active"
66e7f0a3935f7d0162a52bf65905c2904a65c2f1 24-Jul-2012 Chuanxiao Dong <chuanxiao.dong@intel.com> Fix the issue the setting crashes after unmount SD card in landscape

When rotate the phone, mLastClickedMountToggle and mClickedMountPoint
would be destroied which made dialog access NULL pointer.

Change-Id: Ic96fce93828ca7a6f8749fad6a258eb47831e062
Author: Chuanxiao Dong <chuanxiao.dong@intel.com>
Signed-off-by: Xiaokang Qin <xiaokang.qin@intel.com>
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
Signed-off-by: Jack Ren <jack.ren@intel.com>
Author-tracking-BZ: 26569
/packages/apps/Settings/src/com/android/settings/deviceinfo/Memory.java
8218d3ba180505a52998caa1fd9f6a1647984e7f 20-Jan-2012 Li Gang <gang.g.li@intel.com> MTP/PTP: disable erasing/unmount operation for SD card while MTP/PTP is active

Check the USB connection status and MTP/PTP setting, if USB connected and MTP/PTP enabled,
disable the erasing and umount operation.
Judge SD card Mounting status and keep summary string.

Change-Id: Iff3e0f25b581bc462c88fff59eb93d765baaddd7
Author: Li Gang <gang.g.li@intel.com>
Signed-off-by: Xiaokang Qin <xiaokang.qin@intel.com>
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
Signed-off-by: Jack Ren <jack.ren@intel.com>
Author-tracking-BZ: 47043
/packages/apps/Settings/src/com/android/settings/deviceinfo/Memory.java
caf15613c29870850da952e51aaebb8b84867c49 15-May-2012 Jeff Sharkey <jsharkey@android.com> Enforce READ_EXTERNAL in Developer Options.

Move from Storage to Developer Options, and add interstitial dialog
with more details.

Bug: 6461446
Change-Id: I6d3d8fdc61a3e920ed58ab4d726949ac3c31feab
/packages/apps/Settings/src/com/android/settings/deviceinfo/Memory.java
3fd8051a89c5fbcd52b83566a05f0edb919414a5 23-Apr-2012 Amith Yamasani <yamasani@google.com> Don't let monkeys launch storage management activities.

Guard against monkeys in two places where intents to other activities are
launched.

Bug: 5415988
Change-Id: Ia3c5514c02423f7b249f655296bb02e279789dfd
/packages/apps/Settings/src/com/android/settings/deviceinfo/Memory.java
78a534af1b4045cdda2b21c49d1bb50c4f329d86 13-Apr-2012 Jeff Sharkey <jsharkey@android.com> Handle READ_EXTERNAL enforced by default.

Bug: 6131916
Change-Id: Icbdaf6c7febfb8f93992a1f32732d104c8c1848c
/packages/apps/Settings/src/com/android/settings/deviceinfo/Memory.java
11d3012c78fcd23d2dfc7830e03db191af7ba476 20-Mar-2012 Jeff Sharkey <jsharkey@android.com> Enforcement control for READ_EXTERNAL permission.

Surface enforcement controls for READ_EXTERNAL_STORAGE permission
using new PackageManager API.

Bug: 6131916
Change-Id: I0ece4742666fda58e41410cb4b0b7175f280fa31
/packages/apps/Settings/src/com/android/settings/deviceinfo/Memory.java
2a32192329ac47da1e64f7085f4317212e99a3bf 08-Sep-2011 Ben Komalo <benkomalo@google.com> Force storage wipe if not removable and encrypted

Bug: 5017638
Change-Id: I43c98359eff7202437249675060ba964e1bd085c
/packages/apps/Settings/src/com/android/settings/deviceinfo/Memory.java
c9026c9edb9d333b02db4ec2e1a6004c256a8ce1 03-Aug-2011 Christopher Tate <ctate@google.com> Always put 'USB COMPUTER CONNECTION' into the overflow menu

Bug 5011831

Change-Id: I93d24a16508cfcc9f81b8bd3ad43cfffe52db1d5
/packages/apps/Settings/src/com/android/settings/deviceinfo/Memory.java
b7609ff9990e583d62c9af0080d741884a9c5a06 09-Jul-2011 Gilles Debunne <debunne@google.com> Storage correctly updates internal storage graph.

The estimated used size used to be displayed next to the actual applications' size.

Change-Id: I9a9bf1faf638f8495507930e531ca4c851558f26
/packages/apps/Settings/src/com/android/settings/deviceinfo/Memory.java
02900a12b11efc89057fc5d0a19c08d20ff8d2c1 30-Jun-2011 Mike Lockwood <lockwood@android.com> Super rough implementation of new USB settings

There does not seem to be a way to implement radio buttons in a settings screen,
so I am using check boxes as a temporary hack.

Change-Id: I2d2c7931f689ff04608662b64aafc4862cfef48e
Signed-off-by: Mike Lockwood <lockwood@android.com>
/packages/apps/Settings/src/com/android/settings/deviceinfo/Memory.java
2d9357f6d0b981d6e00b6fb057eec110d49ff944 30-Jun-2011 Amith Yamasani <yamasani@google.com> Fix a crash on certain devices in Storage settings.

Bug: 4980974
Change-Id: If4b89f9cb1813c30ced6d7093381a01a5aa00346
/packages/apps/Settings/src/com/android/settings/deviceinfo/Memory.java
bd9ddab4f4e1f47b141abdcc0248cc716112b3c7 28-Jun-2011 Dianne Hackborn <hackbod@google.com> Fix up storage UI for old USB storage.

- In the storage overview, if storage is not emulated then we have a
new first section showing internal storage.
- In manage applications, we know show storage use on the SD card
separately from internal storage use.

Change-Id: I7eb993f59fdb5de5f5dcfe4a3bc2b95ae30d754a
/packages/apps/Settings/src/com/android/settings/deviceinfo/Memory.java
8f1bd8a7526edf49196430be214acb54e66a63ee 07-Jun-2011 Gilles Debunne <debunne@google.com> Bug 4539424: confirmation dialog always shown

Change-Id: Id1e2a52a07255e2c98cbd0e8151a82d7a2612517
/packages/apps/Settings/src/com/android/settings/deviceinfo/Memory.java
99da1a22a35eed631a757ccbf1bac1d7af74124d 03-Jun-2011 Gilles Debunne <debunne@google.com> Always show unmount confirmation dialog

Somehow related to bug 4534261

Change-Id: I2a64406ced4a2c231114d7bb949b84c59199fd82
/packages/apps/Settings/src/com/android/settings/deviceinfo/Memory.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/Memory.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/Memory.java
340e85d1d029ddd96b368da27a8e36bc41da19a7 02-Mar-2011 Vasu Nori <vnori@google.com> bug:3321005 make Settings --> Storage screen display little less ugly

I have implemented most of what the UX designer proposed. except these
1. Percentage Bar chart left padding should be 16dip
2. Percentage Bar chart and Total Space preferences should be combined into
one singne ViewGroup or something. and "total Space" shoudl be aligned
on the right border

Change-Id: I9b238eaa561c9837b47b9955e7d718d92543ca34
/packages/apps/Settings/src/com/android/settings/deviceinfo/Memory.java
76c5328935ab6fb10b283a1de280884bca2a0f33 24-Feb-2011 Kenny Root <kroot@google.com> Data race in initialization of misc files info

Bug: 3480796
Change-Id: I1ff2e7c167872f4e2f11c93981b2dd6ebd0ee897
/packages/apps/Settings/src/com/android/settings/deviceinfo/Memory.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/Memory.java
a3314e2bdb77dc6d9e70980f76bb45631abe7fb5 28-Jan-2011 Vasu Nori <vnori@google.com> bug:3402846 fix settings->storage

Change-Id: Icb9e33cb0336f87f43797330f56e9c8fcbe2dfd0
/packages/apps/Settings/src/com/android/settings/deviceinfo/Memory.java
0ee51e04fb5c39a6272d142efc09d36aa3fbd0ec 25-Jan-2011 Hung-ying Tyan <tyanh@google.com> Allow OnCancelListener and OnDismissListener in Settings app

for the framework-managed dialogs.

DialogFragment acts as both listeners so the application cannot set both
listeners in the embedded dialog. New hooks are added in SettingsDialogFragment
so that settings apps can do so for the framework-managed dialogs.

Bug: 3386670
Change-Id: I144e7c4ccf7f86c61f6079fa86d830c709335af1
/packages/apps/Settings/src/com/android/settings/deviceinfo/Memory.java
3785e390d2538b11d98be17388af69c97c8995b2 19-Jan-2011 Kenny Root <kroot@google.com> Don't show separate option for erasing USB storage

On devices with emulated USB storage or SD card, factory reset will wipe
all data from that area. Given that, it doesn't make sense to show a
different option for wiping USB storage.

Bug: 3242568
Change-Id: I257bdde06141f14381c8c09ce6a42c18d7080efd
/packages/apps/Settings/src/com/android/settings/deviceinfo/Memory.java
fdf7220a03b6e823807b3786b727a9be598d01b5 17-Jan-2011 Vasu Nori <vnori@google.com> bug:3308791 appusage should include space used on /sdcard

when "application usage" is clicked on, drop the screen into
Settings --> Applications --> Manage Applications
(all tab, sorted by size)
Change-Id: I64e11ae9a92529b5fb2781941e532951ad3d04c1
/packages/apps/Settings/src/com/android/settings/deviceinfo/Memory.java
998da3332bf48045460a0f0cd511deb486b55580 05-Jan-2011 Amith Yamasani <yamasani@google.com> Recheck the storage sizes when Storage settings is resumed.

Bug: 3312629

When the Storage fragment is displayed, invalidate the measurement
object so that it recomputes the used space on all partitions.
/packages/apps/Settings/src/com/android/settings/deviceinfo/Memory.java
e4330890d6996bd1ad65bc6c5ab1dfb39f224ea4 14-Dec-2010 Kenny Root <kroot@google.com> Refactor memory measurement

Move out all the memory measurement to a separate class that can cache
all of its data through orientation changes.

Tweak the display to make it draw large squares for the legend instead
of a 1x1 square. Add padding to the percentage bar chart.

Change-Id: I4cd5bc4ba31a422a55740e8f58e5e571cf9866a5
/packages/apps/Settings/src/com/android/settings/deviceinfo/Memory.java
bbef4f9a7d23515ebec979b98b88db59c3b3adff 31-Aug-2010 Mike Lockwood <lockwood@android.com> Revert: Add checkbox to enable PTP USB mode.

Change-Id: I7c00c3c3c5da66a31a68fe0767302d2cdda526a1
Signed-off-by: Mike Lockwood <lockwood@android.com>
/packages/apps/Settings/src/com/android/settings/deviceinfo/Memory.java
b8f9ab6792b621e34441ebf08574325e98fba340 10-Dec-2010 Mike Lockwood <lockwood@android.com> Rename android.hardware.Usb to UsbManager

Change-Id: Id0c0659c29190609bf9ccf4acb56b9402157f41a
Signed-off-by: Mike Lockwood <lockwood@android.com>
/packages/apps/Settings/src/com/android/settings/deviceinfo/Memory.java
511c8cf103193fb41c915941b1b1d2a442a1ae12 03-Dec-2010 Kenny Root <kroot@google.com> Add usage bar chart to storage preferences

Change-Id: Ic3c118ac9194e226e6384e01c9ea7e150b1d9521
/packages/apps/Settings/src/com/android/settings/deviceinfo/Memory.java
45e30006664ecbf527c72b859f71e30c83cee04b 19-Oct-2010 Dan Morrill <morrildl@google.com> Merge commit '593a7049f52d46a4e47162e2e3f2c5730e8ccfd8' into mergefix

Conflicts:
res/values/strings.xml
src/com/android/settings/deviceinfo/Memory.java

Change-Id: Id481ad234f2e74bdef66ea9485a548f11f0cab84
1337d0f70b18dd732c6a617be83e5be0bb8f2f87 14-Oct-2010 Dianne Hackborn <hackbod@google.com> Implement issue #3094621 and #3094609 - wipe sd card

3094621: add "wipe sd card" option to factory data reset
3094609: collapse unmount/format into one command

Implements requested UI changes. Also some final tweaks to
Manage Applications.

Change-Id: I0219195dd0c74d8c003ef1c3f6e09714859d7f89
/packages/apps/Settings/src/com/android/settings/deviceinfo/Memory.java
3d713b162ee13f49b2cbe95beafbabb109f859ff 31-Aug-2010 Mike Lockwood <lockwood@android.com> Add checkbox to enable PTP USB mode.

Change-Id: Icb139cc3d1077565fb8dbe9917d87c7337f59797
Signed-off-by: Mike Lockwood <lockwood@android.com>
/packages/apps/Settings/src/com/android/settings/deviceinfo/Memory.java
d79934731c8d33f6fc63b21c120b9ffba5d06f54 18-Aug-2010 Amith Yamasani <yamasani@google.com> Refactor settings top level activities to use fragments.

Added a base class SettingsPreferenceFragment from which the settings activities should
be derived so that they can behave like fragments. It contains some commonly called
utility methods and dialog conversion to DialogFragment.

Some of the top-level activities can be launched directly without the left pane.
Settings.java acts as a proxy activity that contains just that settings fragment without
the left pane.

There are still a lot of second and third level activities that need to be fragmentized.
This is just the first pass to test the 2-pane layout.
/packages/apps/Settings/src/com/android/settings/deviceinfo/Memory.java
3d503e356f2a4ca6b5baaceec9ea0f04cf038609 24-Mar-2010 Suchi Amalapurapu <asuchitra@google.com> When unmounting the sdcard, we are currently checking for apps that
have open file references on the sdcard. We also have to check for apps on sd
that are currently running. Use the new ActivityManager api to get a list of these apps before deciding to show the dialog.

Change-Id: Idb00fcbd0a3f314d75ee1662cb2b10a84569527a
/packages/apps/Settings/src/com/android/settings/deviceinfo/Memory.java
6f58b1b426b8c466881ad038f40b57e2f8dcca9d 23-Mar-2010 Suchi Amalapurapu <asuchitra@google.com> The getStorageUsers only returns list of storage users accessing the sdcard.
We also have to check if applications on sdcard are currently running.

Change-Id: I4b6478bc834e956f963735f69829c5ba4c7fb8c2
/packages/apps/Settings/src/com/android/settings/deviceinfo/Memory.java
29d587fa1826d9f3411b650b4da030650ac686e0 22-Feb-2010 Suchi Amalapurapu <asuchitra@google.com> Add dialog when ejecting sdcard

Remove some dead code
/packages/apps/Settings/src/com/android/settings/deviceinfo/Memory.java
efb26fd2198a42243c1f63a33cb23d9f09815961 18-Feb-2010 San Mehat <san@google.com> Settings: sdcard: Refactor unmount calls for new api

Signed-off-by: San Mehat <san@google.com>
/packages/apps/Settings/src/com/android/settings/deviceinfo/Memory.java
a2175d1df2d0c6efd49c124be4d04eb962a28c5a 07-Feb-2010 San Mehat <san@google.com> Settings: Refresh sd settings screen after mount/unmount

Signed-off-by: San Mehat <san@google.com>
/packages/apps/Settings/src/com/android/settings/deviceinfo/Memory.java
1e60c9603e02f95158d21b4a2089dc45dffb41c1 05-Feb-2010 San Mehat <san@google.com> Settings: Refactor for new API and remove some unused references / imports

Signed-off-by: San Mehat <san@google.com>
/packages/apps/Settings/src/com/android/settings/deviceinfo/Memory.java
c4e8d7e21a25e2a075fd80abccaa5326c3232b9d 02-Feb-2010 San Mehat <san@google.com> Settings: Refactor for StorageManager namespace change

Signed-off-by: San Mehat <san@google.com>
/packages/apps/Settings/src/com/android/settings/deviceinfo/Memory.java
4a3d713f3aa1cb3b43343dd8af95ee858c8c6d8b 29-Jan-2010 San Mehat <san@google.com> Settings: Refactor for new API & remove obsolete setting

Signed-off-by: San Mehat <san@google.com>
/packages/apps/Settings/src/com/android/settings/deviceinfo/Memory.java
33b0202273269c35906d4080a7ef656a180d6f1c 12-Jan-2010 San Mehat <san@google.com> Settings: Switch to new MountService api names

Signed-off-by: San Mehat <san@google.com>
/packages/apps/Settings/src/com/android/settings/deviceinfo/Memory.java
35351faed3589813524f8951ab46c36cef9b505d 07-Jan-2010 San Mehat <san@google.com> settings: Change unmount button to a mount/unmount toggle

Signed-off-by: San Mehat <san@google.com>
/packages/apps/Settings/src/com/android/settings/deviceinfo/Memory.java
85f4357a4df6f3e7b1b13a9966cc467a7a547835 13-Jun-2009 Eric Fischer <enf@google.com> Make the SD Card settings use the system file size formatter.

The one built into the settings class wasn't internationalized.
/packages/apps/Settings/src/com/android/settings/deviceinfo/Memory.java
afc4ab2ffbb8327ddce9907961295a32cbf49d0f 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/packages/apps/Settings/src/com/android/settings/deviceinfo/Memory.java
4e14e5ccbf1ef27220419849133d482a546d5c04 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/packages/apps/Settings/src/com/android/settings/deviceinfo/Memory.java
a578a6c4ad2924236a8882e3eb794474d57ca450 03-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@132589
/packages/apps/Settings/src/com/android/settings/deviceinfo/Memory.java
8a156091eff22a360f802332daf2fe00b4267ad7 03-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@137055
/packages/apps/Settings/src/com/android/settings/deviceinfo/Memory.java
1feaa85791b3b5cc66a16142afc2259a2356bc9e 11-Feb-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@130745
/packages/apps/Settings/src/com/android/settings/deviceinfo/Memory.java
abc48f80d8747b4fc051b7dd364355ee667a9bac 18-Dec-2008 The Android Open Source Project <initial-contribution@android.com> Code drop from //branches/cupcake/...@124589
/packages/apps/Settings/src/com/android/settings/deviceinfo/Memory.java
de2d9f5f109265873196f1615e1f3546b114aaa7 21-Oct-2008 The Android Open Source Project <initial-contribution@android.com> Initial Contribution
/packages/apps/Settings/src/com/android/settings/deviceinfo/Memory.java