diff --git a/frameworks/libs/systemui/iconloaderlib/0001-remove-missing-aconfig-flag.patch b/frameworks/libs/systemui/iconloaderlib/0001-remove-missing-aconfig-flag.patch new file mode 100644 index 0000000..78473ae --- /dev/null +++ b/frameworks/libs/systemui/iconloaderlib/0001-remove-missing-aconfig-flag.patch @@ -0,0 +1,21 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: PawletOS +Date: Thu, 05 Jun 2026 00:00:00 +0000 +Subject: [PATCH] Remove forceMonochromeAppIconsAdaptColors flag reference + +The flag does not exist in this AOSP revision. Default to the +adapt-colors path (behaviour unchanged for system builds). + +--- +diff --git a/src/com/android/launcher3/icons/mono/MonoThemedBitmap.kt b/src/com/android/launcher3/icons/mono/MonoThemedBitmap.kt +--- a/src/com/android/launcher3/icons/mono/MonoThemedBitmap.kt ++++ b/src/com/android/launcher3/icons/mono/MonoThemedBitmap.kt +@@ -83,7 +83,7 @@ class MonoThemedBitmap( + override fun updateWithTheme(theme: BitmapInfo.DrawableCreationParams): Bitmap? { + val drawable = drawable ?: return null + val foreground = BitmapDrawable(null, drawable) +- if (!Flags.forceMonochromeAppIconsAdaptColors()) { ++ if (false) { + return BitmapRenderer.createHardwareBitmap(drawable.intrinsicWidth, + drawable.intrinsicHeight) { canvas -> + foreground.setBounds(0, 0, canvas.width, canvas.height)