summaryrefslogtreecommitdiffstats
path: root/res/xml
diff options
context:
space:
mode:
authorJoey <joey@lineageos.org>2018-02-04 11:36:32 +0100
committerLuK1337 <priv.luk@gmail.com>2020-01-24 18:29:31 +0100
commitbaab9939998fc3e59daa11cb52d699346939a1e2 (patch)
treeac2a8162c3a3b59218243ba032a4db814b9caffd /res/xml
parente1b5be663f25f09d16e956aff8f8a90d1ab502a4 (diff)
downloadandroid_packages_apps_Trebuchet-baab9939998fc3e59daa11cb52d699346939a1e2.tar.gz
android_packages_apps_Trebuchet-baab9939998fc3e59daa11cb52d699346939a1e2.tar.bz2
android_packages_apps_Trebuchet-baab9939998fc3e59daa11cb52d699346939a1e2.zip
Trebuchet: allow disabling workspace edit
Change-Id: I503e19cbc512eac0e4a8c8bccc16a6ccc0e805da Signed-off-by: Joey <joey@lineageos.org>
Diffstat (limited to 'res/xml')
-rw-r--r--res/xml/launcher_preferences.xml8
1 files changed, 8 insertions, 0 deletions
diff --git a/res/xml/launcher_preferences.xml b/res/xml/launcher_preferences.xml
index b5dace816..3df481c88 100644
--- a/res/xml/launcher_preferences.xml
+++ b/res/xml/launcher_preferences.xml
@@ -17,6 +17,14 @@
<androidx.preference.PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android">
+ <SwitchPreference
+ android:defaultValue="true"
+ android:key="pref_workspace_edit"
+ android:persistent="true"
+ android:title="@string/settings_edit_allow_title"
+ android:summaryOn="@string/settings_edit_allow_summary_on"
+ android:summaryOff="@string/settings_edit_allow_summary_off" />
+
<com.android.launcher3.settings.NotificationDotsPreference
android:key="pref_icon_badging"
android:title="@string/notification_dots_title"