diff options
author | Jason Monk <jmonk@google.com> | 2015-06-25 15:03:26 -0400 |
---|---|---|
committer | Jason Monk <jmonk@google.com> | 2015-06-25 15:06:00 -0400 |
commit | fb6e1186ab0b967acf0a041dc0d2d6ea96c672b9 (patch) | |
tree | 9f1c2d8f9a7fa4f73faa3240a66871f2151b73ea /res/xml | |
parent | 91ba69df7e0fd7c3cc594e16a1d97339f769da09 (diff) | |
download | packages_apps_Settings-fb6e1186ab0b967acf0a041dc0d2d6ea96c672b9.zip packages_apps_Settings-fb6e1186ab0b967acf0a041dc0d2d6ea96c672b9.tar.gz packages_apps_Settings-fb6e1186ab0b967acf0a041dc0d2d6ea96c672b9.tar.bz2 |
Fix accessibility for account sync
Needed to get views recycling so that feedback could occur during
switch turning off.
Bug: 20020216
Change-Id: Ib7b1cdca78f5ac5064cdf521122ff7a5ee49f572
Diffstat (limited to 'res/xml')
-rw-r--r-- | res/xml/account_sync_settings.xml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/res/xml/account_sync_settings.xml b/res/xml/account_sync_settings.xml index 0ec46b7..ab274eb 100644 --- a/res/xml/account_sync_settings.xml +++ b/res/xml/account_sync_settings.xml @@ -16,4 +16,9 @@ <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"> + <!-- Needed so PreferenceGroupAdapter allows SyncStateSwitchPreference to be + recycled. Removed in onResume --> + <com.android.settings.accounts.SyncStateSwitchPreference + android:key="dummy" /> + </PreferenceScreen> |