Merge "Adds missing accessibility string for accounts syncing"
This commit is contained in:
committed by
Android (Google) Code Review
commit
ff0f1d8049
@@ -4211,6 +4211,8 @@
|
|||||||
<string name="accessibility_sync_enabled">Sync enabled</string>
|
<string name="accessibility_sync_enabled">Sync enabled</string>
|
||||||
<!-- Content description of the disabled sync icon for accessibility. [CHAR LIMIT=NONE] -->
|
<!-- Content description of the disabled sync icon for accessibility. [CHAR LIMIT=NONE] -->
|
||||||
<string name="accessibility_sync_disabled">Sync disabled</string>
|
<string name="accessibility_sync_disabled">Sync disabled</string>
|
||||||
|
<!-- Content description of the in progress sync icon for accessibility. [CHAR LIMIT=NONE] -->
|
||||||
|
<string name="accessibility_sync_in_progress">Syncing now</string>
|
||||||
<!-- Content description of the disabled sync icon for accessibility. [CHAR LIMIT=NONE] -->
|
<!-- Content description of the disabled sync icon for accessibility. [CHAR LIMIT=NONE] -->
|
||||||
<string name="accessibility_sync_error">Sync error.</string>
|
<string name="accessibility_sync_error">Sync error.</string>
|
||||||
<!-- Image description for the sync failed icon. -->
|
<!-- Image description for the sync failed icon. -->
|
||||||
|
@@ -140,6 +140,8 @@ public class AccountPreference extends Preference {
|
|||||||
return getContext().getString(R.string.accessibility_sync_disabled);
|
return getContext().getString(R.string.accessibility_sync_disabled);
|
||||||
case SYNC_ERROR:
|
case SYNC_ERROR:
|
||||||
return getContext().getString(R.string.accessibility_sync_error);
|
return getContext().getString(R.string.accessibility_sync_error);
|
||||||
|
case SYNC_IN_PROGRESS:
|
||||||
|
return getContext().getString(R.string.accessibility_sync_in_progress);
|
||||||
default:
|
default:
|
||||||
Log.e(TAG, "Unknown sync status: " + status);
|
Log.e(TAG, "Unknown sync status: " + status);
|
||||||
return getContext().getString(R.string.accessibility_sync_error);
|
return getContext().getString(R.string.accessibility_sync_error);
|
||||||
|
Reference in New Issue
Block a user