diff options
author | Kenny Root <kroot@google.com> | 2011-01-18 15:14:32 -0800 |
---|---|---|
committer | Kenny Root <kroot@google.com> | 2011-01-18 15:14:32 -0800 |
commit | 3785e390d2538b11d98be17388af69c97c8995b2 (patch) | |
tree | 291668b47b8cdc292f6c0bb1097b84c4580b4f98 /res | |
parent | 0ad922f0ceee31da2a5b242ecfbaeff74e1f0003 (diff) | |
download | packages_apps_Settings-3785e390d2538b11d98be17388af69c97c8995b2.zip packages_apps_Settings-3785e390d2538b11d98be17388af69c97c8995b2.tar.gz packages_apps_Settings-3785e390d2538b11d98be17388af69c97c8995b2.tar.bz2 |
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
Diffstat (limited to 'res')
-rw-r--r-- | res/layout/master_clear.xml | 8 | ||||
-rw-r--r-- | res/values/strings.xml | 2 |
2 files changed, 9 insertions, 1 deletions
diff --git a/res/layout/master_clear.xml b/res/layout/master_clear.xml index ec61310..e15169e 100644 --- a/res/layout/master_clear.xml +++ b/res/layout/master_clear.xml @@ -35,6 +35,12 @@ android:layout_height="wrap_content" android:textSize="18sp" android:text="@string/master_clear_desc" /> + <TextView android:id="@+id/also_erases_external" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:visibility="gone" + android:textSize="18sp" + android:text="@string/master_clear_desc_also_erases_external" /> <TextView android:id="@+id/accounts_label" android:layout_width="match_parent" android:layout_height="wrap_content" @@ -46,7 +52,7 @@ android:layout_height="wrap_content" android:orientation="vertical" android:visibility="gone" /> - <TextView + <TextView android:id="@+id/erase_external_option_text" android:layout_width="match_parent" android:layout_height="wrap_content" android:textSize="18sp" diff --git a/res/values/strings.xml b/res/values/strings.xml index 0c51a22..c7454de 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -1604,6 +1604,8 @@ <string name="master_clear_desc" product="default">"This will erase all data from your phone\'s <b>internal storage</b>, including:\n\n<li>Your Google account</li>\n<li>System and application data and settings</li>\n<li>Downloaded applications"</li></string> <!-- SD card & phone storage settings screen, instructions and list of current accounts. The list of accounts follows this text[CHAR LIMIT=NONE] --> <string name="master_clear_accounts" product="default">"\n\nYou are currently signed into the following accounts:\n"</string> + <!-- SD card & phone storage settings screen, list of items in user data storage (USB storage or SD card) that will be erased during this operation [CHAR LIMIT=NONE] --> + <string name="master_clear_desc_also_erases_external">"<li>Music</li>\n<li>Photos</li>\n<li>Other user data</li>"</string> <!-- SD card & phone storage settings screen, instructions about whether to also erase the external storage (SD card) when erasing the internal storage [CHAR LIMIT=NONE] --> <string name="master_clear_desc_erase_external_storage" product="nosdcard">"\n\nTo also clear music, pictures, and other user data, the <b>USB storage</b> needs to be erased."</string> <!-- SD card & phone storage settings screen, instructions about whether to also erase the external storage (SD card) when erasing the internal storage [CHAR LIMIT=NONE] --> |