summaryrefslogtreecommitdiffstats
path: root/res/xml
diff options
context:
space:
mode:
authorJason Monk <jmonk@google.com>2015-06-25 15:03:26 -0400
committerJason Monk <jmonk@google.com>2015-06-25 15:06:00 -0400
commitfb6e1186ab0b967acf0a041dc0d2d6ea96c672b9 (patch)
tree9f1c2d8f9a7fa4f73faa3240a66871f2151b73ea /res/xml
parent91ba69df7e0fd7c3cc594e16a1d97339f769da09 (diff)
downloadpackages_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.xml5
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>