• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

packages/apps/Settings


Commit MetaInfo

Revisionaa1f8aeeea1c27fe88270cc8b5df970d9f292385 (tree)
Zeit2010-06-04 05:42:12
AutorKenny Root <kroot@goog...>
CommiterKenny Root

Log Message

Clarify backup setting

Change-Id: Ifb4497e4ea1453b1afbdd08ed08fddb9055b7251

Ändern Zusammenfassung

Diff

--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -2478,15 +2478,17 @@ found in the list of installed applications.</string>
24782478 <!-- Privacy settings activity title -->
24792479 <string name="privacy_settings_title">Privacy settings</string>
24802480 <!-- Backup section title -->
2481- <string name="backup_section_title">Backup and Restore</string>
2481+ <string name="backup_section_title">Backup and restore</string>
24822482 <!-- Personal data section title -->
24832483 <string name="personal_data_section_title">Personal data</string>
2484- <!-- Backup settings menu title -->
2485- <string name="backup_settings_title">Back up my settings</string>
2484+ <!-- Backup data menu title -->
2485+ <string name="backup_data_title">Back up data</string>
2486+ <!-- Summary text of the "back up data" setting -->
2487+ <string name="backup_data_summary">Back up settings and other application data.</string>
24862488 <!-- Auto-restore menu title -->
24872489 <string name="auto_restore_title">Automatic restore</string>
24882490 <!-- Summary text of the "automatic restore" setting -->
2489- <string name="auto_restore_summary">Restore applications\' data from backup when they are installed</string>
2491+ <string name="auto_restore_summary">If I reinstall an application, restore backed up settings or other data.</string>
24902492 <!-- Dialog title for confirmation to erase backup data from server -->
24912493 <string name="backup_erase_dialog_title">Backup</string>
24922494 <!-- Dialog title for confirmation to erase backup data from server -->
--- a/res/xml/privacy_settings.xml
+++ b/res/xml/privacy_settings.xml
@@ -20,8 +20,9 @@
2020 android:title="@string/backup_section_title">
2121 <!-- Backup settings -->
2222 <CheckBoxPreference
23- android:key="backup_settings"
24- android:title="@string/backup_settings_title"
23+ android:key="backup_data"
24+ android:title="@string/backup_data_title"
25+ android:summary="@string/backup_data_summary"
2526 android:persistent="false" />
2627 <CheckBoxPreference
2728 android:key="auto_restore"
--- a/src/com/android/settings/PrivacySettings.java
+++ b/src/com/android/settings/PrivacySettings.java
@@ -44,7 +44,7 @@ public class PrivacySettings extends PreferenceActivity implements
4444 // Vendor specific
4545 private static final String GSETTINGS_PROVIDER = "com.google.settings";
4646 private static final String BACKUP_CATEGORY = "backup_category";
47- private static final String BACKUP_SETTINGS = "backup_settings";
47+ private static final String BACKUP_DATA = "backup_data";
4848 private static final String AUTO_RESTORE = "auto_restore";
4949 private CheckBoxPreference mBackup;
5050 private CheckBoxPreference mAutoRestore;
@@ -59,7 +59,7 @@ public class PrivacySettings extends PreferenceActivity implements
5959 addPreferencesFromResource(R.xml.privacy_settings);
6060 final PreferenceScreen screen = getPreferenceScreen();
6161
62- mBackup = (CheckBoxPreference) screen.findPreference(BACKUP_SETTINGS);
62+ mBackup = (CheckBoxPreference) screen.findPreference(BACKUP_DATA);
6363 mAutoRestore = (CheckBoxPreference) screen.findPreference(AUTO_RESTORE);
6464
6565 // Vendor specific