Storage item to represent cached data.

When touched, offers to clear all cached data.

Bug: 7216370
Change-Id: I86afe66b819fb7deeba909bef507925fc5a590f3
This commit is contained in:
Jeff Sharkey
2012-09-23 17:40:47 -07:00
parent b105531116
commit 0e9cf8a723
4 changed files with 97 additions and 1 deletions

View File

@@ -24,6 +24,7 @@
<color name="memory_downloads">#476093</color>
<color name="memory_dcim">#793A7F</color>
<color name="memory_music">#8E562A</color>
<color name="memory_cache">#479392</color>
<color name="memory_misc">#7C3030</color>
<color name="memory_user_light">#479392</color>
<color name="memory_user_dark">#316665</color>

View File

@@ -1937,6 +1937,8 @@
<string name="memory_music_usage">Audio (music, ringtones, podcasts, etc.)</string>
<!-- SD card & phone storage settings title. Displayed as a title when showing the total usage of misc files on the device. Below it will be a number like "123.4 MB" indicating used storage. [CHAR LIMIT=50] -->
<string name="memory_media_misc_usage">Misc.</string>
<!-- Storage item representing all cached data on device. [CHAR LIMIT=48] -->
<string name="memory_media_cache_usage">Cached data</string>
<!-- SD card & phone storage settings item title that will result in the phone unmounting the SD card. This will be done before the user phyiscally removes the SD card from the phone. Kind of like the "Safely remove" on some operating systems. [CHAR LIMIT=25] -->
<string name="sd_eject" product="nosdcard">Unmount shared storage</string>
<!-- SD card & phone storage settings item title that will result in the phone unmounting the SD card. This will be done before the user phyiscally removes the SD card from the phone. Kind of like the "Safely remove" on some operating systems. -->
@@ -1971,6 +1973,11 @@
<string name="sd_format_summary" product="default">Erases all data on the SD card, such as music and photos</string>
<!-- SD card status when it is mounted as read only. Will be appended to size, starts with an unbreakable space -->
<!-- Title of dialog asking user to confirm before clearing all caches. [CHAR LIMIT=48] -->
<string name="memory_clear_cache_title">Clear cached data?</string>
<!-- Message of dialog asking user to confirm before clearing all caches. [CHAR LIMIT=48] -->
<string name="memory_clear_cache_message">This will clear cached data for all apps.</string>
<!-- SD card & phone storage settings item summary that will result in the phone connected to PC and MTP/PTP enabled. [CHAR LIMIT=80] -->
<string name="mtp_ptp_mode_summary">MTP or PTP function is active</string>