summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorSunny Goyal <sunnygoyal@google.com>2018-10-16 16:36:02 -0700
committerSunny Goyal <sunnygoyal@google.com>2018-10-19 18:09:40 +0000
commitb2498b279095fbddb8d05031158638d79491bb0d (patch)
tree523d5296b7d31f52a90bcaf4595e3cf04c176c93 /res
parent785a379570f6350a4d1b51f93a98852d56569c98 (diff)
downloadandroid_packages_apps_Trebuchet-b2498b279095fbddb8d05031158638d79491bb0d.tar.gz
android_packages_apps_Trebuchet-b2498b279095fbddb8d05031158638d79491bb0d.tar.bz2
android_packages_apps_Trebuchet-b2498b279095fbddb8d05031158638d79491bb0d.zip
Using support lib implementation for launcher preference
Bug: 117519297 Change-Id: Icea5e022a337436e48db9376fd441f805dc34e54
Diffstat (limited to 'res')
-rw-r--r--res/xml/launcher_preferences.xml11
1 files changed, 6 insertions, 5 deletions
diff --git a/res/xml/launcher_preferences.xml b/res/xml/launcher_preferences.xml
index 1df7c2fba..c55cc4985 100644
--- a/res/xml/launcher_preferences.xml
+++ b/res/xml/launcher_preferences.xml
@@ -14,9 +14,10 @@
limitations under the License.
-->
-<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
+<androidx.preference.PreferenceScreen
+ xmlns:android="http://schemas.android.com/apk/res/android">
- <com.android.launcher3.views.ButtonPreference
+ <com.android.launcher3.settings.IconBadgingPreference
android:key="pref_icon_badging"
android:title="@string/icon_badging_title"
android:persistent="false"
@@ -27,7 +28,7 @@
android:name=":settings:fragment_args_key"
android:value="notification_badging" />
</intent>
- </com.android.launcher3.views.ButtonPreference>
+ </com.android.launcher3.settings.IconBadgingPreference>
<SwitchPreference
android:key="pref_add_icon_to_home"
@@ -52,10 +53,10 @@
android:defaultValue=""
android:persistent="false" />
- <PreferenceScreen
+ <androidx.preference.PreferenceScreen
android:fragment="com.android.launcher3.config.FlagTogglerPreferenceFragment"
android:key="flag_toggler"
android:persistent="false"
android:title="Feature flags"/>
-</PreferenceScreen>
+</androidx.preference.PreferenceScreen>