Signed-off-by: Tavi <tavi@divested.dev>
This commit is contained in:
Tavi 2024-05-08 16:31:39 -04:00
parent 1fdedf21a5
commit 650fc2ec27
No known key found for this signature in database
GPG Key ID: E599F62ECBAEAF2E
3 changed files with 8 additions and 10 deletions

View File

@ -1080,7 +1080,6 @@ packages/apps/Messaging 90e6b93a9558bae0831f2b3a89c20c6f94a53de5
packages/apps/Nfc c28555164b8d2c8e12d7d4439f1ce9d83b9655ab
packages/apps/OnDeviceAppPrediction 460e94bc49773d6e1a442fe0885e64bf3de98992
packages/apps/OneTimeInitializer 3f70a0dbc890d9f125c4090b4ccfd5157ad87a64
packages/apps/OpenEUICC 6add8c89ac141f177cd8d124a0a955232f4222f9
packages/apps/PhoneCommon f44c97cc5c6de1c980694af76d1692157dd50a0c
packages/apps/Profiles a84fe057ff7566717d86bddcc9c47780c065534b
packages/apps/Provision 841d5199e1d1c64e7853fd953eed5247780908c1
@ -1225,7 +1224,6 @@ prebuilts/module_sdk/Wifi 77a7f8f6890d850196448b12722372c5a79194e8
prebuilts/module_sdk/art cd8447ce3c3668920db9ea6b5810a69a2d9cd650
prebuilts/module_sdk/conscrypt 817b43dbd03c498253daef5778a8638479d97600
prebuilts/ndk 44e35a40ecda0c30cc757ae239c31abdf0c496fd
prebuilts/openeuicc-deps 55f3e2c7ab26484f7478b26540fa14392d0c2cd7
prebuilts/qemu-kernel 841f4661bd5fcd086206d4e3ed16eb0432493679
prebuilts/r8 80cd33e021c42be09eaa97f0563dd70673a20450
prebuilts/remoteexecution-client 09faa524d28f07db75bf346b358c0ffc632f9add

View File

@ -1,4 +1,4 @@
From a2b8af36f27ee342c78c0e8be5cc7ba03e25b0a7 Mon Sep 17 00:00:00 2001
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Davide Garberi <dade.garberi@gmail.com>
Date: Wed, 12 Jul 2023 15:55:29 +0200
Subject: [PATCH] Launcher3: Allow toggling monochrome icons for all apps
@ -17,7 +17,7 @@ Change-Id: I6bf7aa4aca22f80231b06123a9c5fd0386bde851
4 files changed, 18 insertions(+), 1 deletion(-)
diff --git a/res/values/lineage_strings.xml b/res/values/lineage_strings.xml
index dd033354959..87f58a47c91 100644
index dd03335495..87f58a47c9 100644
--- a/res/values/lineage_strings.xml
+++ b/res/values/lineage_strings.xml
@@ -39,6 +39,10 @@
@ -32,7 +32,7 @@ index dd033354959..87f58a47c91 100644
<string name="desktop_show_labels">Show icon labels on desktop</string>
<string name="drawer_show_labels">Show icon labels in drawer</string>
diff --git a/res/xml/launcher_preferences.xml b/res/xml/launcher_preferences.xml
index 83ef5b3bd20..a10c0f5365f 100644
index 83ef5b3bd2..a10c0f5365 100644
--- a/res/xml/launcher_preferences.xml
+++ b/res/xml/launcher_preferences.xml
@@ -84,6 +84,13 @@
@ -50,7 +50,7 @@ index 83ef5b3bd20..a10c0f5365f 100644
android:key="pref_desktop_show_labels"
android:title="@string/desktop_show_labels"
diff --git a/src/com/android/launcher3/InvariantDeviceProfile.java b/src/com/android/launcher3/InvariantDeviceProfile.java
index f495ed45a40..7c0c84dfb67 100644
index f495ed45a4..7c0c84dfb6 100644
--- a/src/com/android/launcher3/InvariantDeviceProfile.java
+++ b/src/com/android/launcher3/InvariantDeviceProfile.java
@@ -95,10 +95,13 @@ public class InvariantDeviceProfile implements OnSharedPreferenceChangeListener
@ -67,7 +67,7 @@ index f495ed45a40..7c0c84dfb67 100644
// Constants that affects the interpolation curve between statically defined device profile
// buckets.
private static final float KNEARESTNEIGHBOR = 3;
@@ -329,6 +332,8 @@ public void reinitializeAfterRestore(Context context) {
@@ -329,6 +332,8 @@ public class InvariantDeviceProfile implements OnSharedPreferenceChangeListener
@Override
public void onSharedPreferenceChanged(SharedPreferences prefs, String key) {
switch (key) {
@ -77,10 +77,10 @@ index f495ed45a40..7c0c84dfb67 100644
case KEY_SHOW_DESKTOP_LABELS:
case KEY_SHOW_DRAWER_LABELS:
diff --git a/src/com/android/launcher3/icons/LauncherIcons.java b/src/com/android/launcher3/icons/LauncherIcons.java
index 57fa8a256bb..4fc4d7de749 100644
index 57fa8a256b..4fc4d7de74 100644
--- a/src/com/android/launcher3/icons/LauncherIcons.java
+++ b/src/com/android/launcher3/icons/LauncherIcons.java
@@ -98,7 +98,8 @@ public void recycle() {
@@ -98,7 +98,8 @@ public class LauncherIcons extends BaseIconFactory implements AutoCloseable {
@Override
protected Drawable getMonochromeDrawable(Drawable base) {
Drawable mono = super.getMonochromeDrawable(base);

@ -1 +1 @@
Subproject commit 31ae5e5179470a9f593d64f27e2993267f38efc8
Subproject commit 9ebde09a58d53340de508328dcb6ce318a7727fa