Move ManageAccountsSettings into Settings.

- Add activity-alias for the Activity.
- Copy the Activity from AccountsAndSyncSettings.
- Fragmentize ManageAccountsSettings.
- Remove dependency toward AccountPreferenceBase, which is
  used in AccountsAndSyncSettings widely.
- Add missing implementation derived from AccountPrefernceBase.
- Copy dependent drawables.
- Copy dependent xmls
- Copy AccountPrefernce.java.
- Copy strings, adding CHAR LIMIT.
- Remove the logic which remove the preference when its destination
  Activity is missing. We already have the destination as
  Fragment, and it never disappear.

Change-Id: Id41c63d7064aebeaae31bcd84bf4fd20a5636dfe
This commit is contained in:
Daisuke Miyakawa
2010-09-15 20:09:12 -07:00
parent 4f169ba1aa
commit a2633d0232
26 changed files with 756 additions and 6 deletions

View File

@@ -2700,4 +2700,38 @@ found in the list of installed applications.</string>
<!-- Do not translate. This is a stub which will be removed soon. -->
<string name="time_zone_auto_stub" translatable="false">Select Time Zone</string>
<!-- Message when sync is currently failing [CHAR LIMIT=100] -->
<string name="sync_is_failing">Sync is currently experiencing problems. It will be back shortly.</string>
<!-- Button label to add an account [CHAR LIMIT=20] -->
<string name="add_account_label">Add account</string>
<!-- Header title for those settings relating to general syncing.
[CHAR LIMIT=30] -->
<string name="header_general_sync_settings">General sync settings</string>
<!-- Data synchronization settings screen, title of setting that controls whether background data should be used [CHAR LIMIT=30] -->
<string name="background_data">Background data</string>
<!-- Data synchronization settings screen, summary of setting that controls whether background data should be used [CHAR LIMIT=60] -->
<string name="background_data_summary">Applications can sync, send, and receive data at any time</string>
<!-- Data synchronization settings screen, title of dialog that confirms the user's unchecking of background data [CHAR LIMIT=20] -->
<string name="background_data_dialog_title">Attention</string>
<!-- Data synchronization settings screen, message of dialog that confirms the user's unchecking of background data [CHAR LIMIT=200] -->
<string name="background_data_dialog_message">Disabling background data extends battery life and lowers data use. Some applications may still use the background data connection.</string>
<!-- Data synchronization settings screen, setting option name
[CHAR LIMIT=30] -->
<string name="sync_automatically">Auto-sync</string>
<!-- Data synchronization settings screen, setting option summary text when check box is selected [CHAR LIMIT=60] -->
<string name="sync_automatically_summary">Applications sync data automatically</string>
<!-- Header title for list of accounts on Accounts & Synchronization settings [CHAR LIMIT=30] -->
<string name="header_manage_accounts">Manage accounts</string>
<!-- Sync status messages on Accounts & Synchronization settings --><skip/>
<!-- Sync status shown when sync is enabled [CHAR LIMIT=20] -->
<string name="sync_enabled">Sync is ON</string>
<!-- Sync status shown when sync is disabled [CHAR LIMIT=20] -->
<string name="sync_disabled">Sync is OFF</string>
<!-- Sync status shown when last sync resulted in an error [CHAR LIMIT=20] -->
<string name="sync_error">Sync error</string>
</resources>