From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Davide Garberi Date: Wed, 12 Jul 2023 15:55:29 +0200 Subject: [PATCH] Launcher3: Allow toggling monochrome icons for all apps * This feature has been added by Google in Android 13 QPR2, but hasn't been enabled by default * Instead of forcing it to always enabled, add a toggle so that users can choose whether they want it or not. Change-Id: I6bf7aa4aca22f80231b06123a9c5fd0386bde851 --- res/values/lineage_strings.xml | 4 ++++ res/xml/launcher_preferences.xml | 7 +++++++ src/com/android/launcher3/InvariantDeviceProfile.java | 5 +++++ src/com/android/launcher3/icons/LauncherIcons.java | 3 ++- 4 files changed, 18 insertions(+), 1 deletion(-) diff --git a/res/values/lineage_strings.xml b/res/values/lineage_strings.xml index dd03335495..87f58a47c9 100644 --- a/res/values/lineage_strings.xml +++ b/res/values/lineage_strings.xml @@ -39,6 +39,10 @@ Use themed icons in drawer Follow themed icons used on home screen + + Force monochrome icons + Force monochrome icons for apps that don\'t support them natively + Show icon labels on desktop Show icon labels in drawer diff --git a/res/xml/launcher_preferences.xml b/res/xml/launcher_preferences.xml index 83ef5b3bd2..a10c0f5365 100644 --- a/res/xml/launcher_preferences.xml +++ b/res/xml/launcher_preferences.xml @@ -84,6 +84,13 @@ android:defaultValue="false" android:persistent="true" /> + +