Surface enforcement controls for READ_EXTERNAL_STORAGE permission
using new PackageManager API.
Bug: 6131916
Change-Id: I0ece4742666fda58e41410cb4b0b7175f280fa31
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>
- 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
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
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
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
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
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
when "application usage" is clicked on, drop the screen into
Settings --> Applications --> Manage Applications
(all tab, sorted by size)
Change-Id: I64e11ae9a92529b5fb2781941e532951ad3d04c1
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
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
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.
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