diff options
Diffstat (limited to 'res/xml')
-rw-r--r-- | res/xml/trust_agent_settings.xml | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/res/xml/trust_agent_settings.xml b/res/xml/trust_agent_settings.xml index e9374f3..2bf71fb 100644 --- a/res/xml/trust_agent_settings.xml +++ b/res/xml/trust_agent_settings.xml @@ -16,4 +16,9 @@ <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" android:key="trust_agents" - android:title="@string/manage_trust_agents" /> + android:title="@string/manage_trust_agents"> + + <!-- Needed so PreferenceGroupAdapter allows SwitchPreference to be + recycled. Removed in onResume --> + <SwitchPreference android:key="dummy_preference" /> +</PreferenceScreen> |