From 20c8d89a67638dc40784fa8aaee26fe150b81945 Mon Sep 17 00:00:00 2001 From: Andy CrossGate Yan Date: Tue, 22 Oct 2024 20:15:15 +0800 Subject: [PATCH] Changes for October 2024 --- ...dd-DisplayCutoutEmulationNoneOverlay.patch | 191 ++++++++++++++++++ ...0002-Disable-FP-lockouts-optionally.patch} | 4 +- ...003-Disable-vendor-mismatch-warning.patch} | 4 +- ...-Allow-locking-to-any-rotation-mode.patch} | 4 +- ...lors-of-slices-not-updating-on-doze.patch} | 4 +- ...06-UI-Adjust-default-navbar-layouts.patch} | 4 +- ...0007-UI-Adjust-split-screen-divider.patch} | 4 +- ...h => 0008-UI-Disable-wallpaper-zoom.patch} | 4 +- ...and-light-dark-theme-in-user-1-icon.patch} | 4 +- ...-Increase-default-status-bar-height.patch} | 4 +- ...layout-tuning-via-sysui_nav_bar-tun.patch} | 4 +- ...XED_RATIO-for-multi-window-globally.patch} | 4 +- ...re-Remove-old-app-target-SDK-dialog.patch} | 4 +- ...ubpixel-text-positioning-by-default.patch} | 4 +- ...-requirement-for-signature-spoofing.patch} | 4 +- .../0016-Display-Cutout-Error.patch | 34 ++++ ...orUpdateLogger-to-track-color-updat.patch} | 4 +- ...> 0018-Revert-Change-color-of-track.patch} | 4 +- ...xt-color-used-on-the-notification-u.patch} | 4 +- ...temUI-to-new-notification-color-spe.patch} | 4 +- ...mework-to-new-notification-color-sp.patch} | 4 +- ...ake-QS-always-use-dark-theme-colors.patch} | 4 +- ...inflate-QS-and-SB-when-CONFIG_UI_MO.patch} | 4 +- ...-light-dark-theme-in-quick-settings.patch} | 4 +- ...ewrapper-for-QSCustomizer-and-tune-.patch} | 4 +- ...itialize-QS-tiles-in-inactive-state.patch} | 4 +- ...l-tone-light-and-dark-themes-for-QS.patch} | 4 +- ...te-QS-and-SB-when-CONFIG_SCREEN_LAY.patch} | 4 +- ...ight-dark-theme-in-SplitShade-Heade.patch} | 4 +- ...ransparent-background-for-QS-footer.patch} | 4 +- ...-Remove-unused-colorSchemeIsApplied.patch} | 4 +- ...ark-Light-theme-for-Safe-Mode-dialo.patch} | 4 +- ...llow-light-dark-theme-in-power-menu.patch} | 4 +- ...uate-system-theme-on-UI-mode-change.patch} | 4 +- ...-SystemUI-Fix-QS-header-clock-color.patch} | 4 +- ...late-paged-QS-tiles-height-properly.patch} | 4 +- ...isibility-check-in-setting-QSCarrie.patch} | 4 +- ...Fix-QS-tile-dialog-background-color.patch} | 4 +- ...se-proper-Resolver-background-color.patch} | 4 +- ...w-monet-theme-on-privacy-indicators.patch} | 4 +- ...-Follow-monet-theme-on-battery-chip.patch} | 4 +- ...troller-Remove-repeated-monet-check.patch} | 4 +- ...color-accent-for-charging-animation.patch} | 4 +- ...aults-Add-chroma-to-light-surface-h.patch} | 4 +- ...ackground_tint-Use-accent-color-for.patch} | 4 +- .../0001-treble-Lineage-ify.patch | 4 +- ...ARD_EXT4_SHARE_DUP_BLOCKS-explicitly.patch | 4 +- ...treble-Set-TARGET_NO_KERNEL_OVERRIDE.patch | 4 +- .../0004-treble-Enable-call-recording.patch | 4 +- .../0005-treble-Switch-to-MindTheGapps.patch | 4 +- ...treble-Import-prebuilt-PHH-Superuser.patch | 4 +- .../0007-treble-Remove-Securize-1-2.patch | 6 +- ...eble-Build-AOSP-hide-cutout-overlays.patch | 29 +++ .../0001-Add-Meizu-18-vibrator-support.patch | 10 +- .../0002-Revert-Include-sim-toolkit-app.patch | 6 +- ...t-BOARD_EXT4_SHARE_DUP_BLOCKS-explic.patch | 2 +- ...ovide-libprotobuf-cpp-vendorcompat-p.patch | 15 +- ...ed-to-send-a-hack-message-to-HAL-to-.patch | 2 +- ...n-input-with-a-display-uses-uniqueId.patch | 2 +- ...n-t-exist-in-O-P-so-detect-its-suppo.patch | 2 +- ...Samsung-system-permission-on-sensors.patch | 2 +- ...er-input-as-sensor-exclusively-if-th.patch | 2 +- ...ide-their-vibrator-HAL-behind-non-de.patch | 2 +- ...er-Add-support-Samsung-miscpower-HAL.patch | 2 +- ...008-FOD-support-for-Samsung-and-Asus.patch | 2 +- ...support-to-fix-broken-Mediatek-gpufr.patch | 2 +- .../0010-Fix-loading-unnamed-GLES.patch | 2 +- .../0011-Increase-SW_MAX-4.patch | 2 +- ...le-gpuservice-on-old-BPF-less-kernel.patch | 2 +- ...eFlinger-Disable-SF-HWC-backpressure.patch | 4 +- ... => 0014-Fix-touch-on-Meizu-21-Note.patch} | 32 +-- 71 files changed, 405 insertions(+), 144 deletions(-) create mode 100644 patches_platform/frameworks_base/0001-Add-DisplayCutoutEmulationNoneOverlay.patch rename patches_platform/frameworks_base/{0001-Disable-FP-lockouts-optionally.patch => 0002-Disable-FP-lockouts-optionally.patch} (96%) rename patches_platform/frameworks_base/{0002-Disable-vendor-mismatch-warning.patch => 0003-Disable-vendor-mismatch-warning.patch} (94%) rename patches_platform/frameworks_base/{0003-Keyguard-Allow-locking-to-any-rotation-mode.patch => 0004-Keyguard-Allow-locking-to-any-rotation-mode.patch} (92%) rename patches_platform/frameworks_base/{0004-Keyguard-Fix-colors-of-slices-not-updating-on-doze.patch => 0005-Keyguard-Fix-colors-of-slices-not-updating-on-doze.patch} (94%) rename patches_platform/frameworks_base/{0005-UI-Adjust-default-navbar-layouts.patch => 0006-UI-Adjust-default-navbar-layouts.patch} (95%) rename patches_platform/frameworks_base/{0006-UI-Adjust-split-screen-divider.patch => 0007-UI-Adjust-split-screen-divider.patch} (98%) rename patches_platform/frameworks_base/{0007-UI-Disable-wallpaper-zoom.patch => 0008-UI-Disable-wallpaper-zoom.patch} (89%) rename patches_platform/frameworks_base/{0008-UI-Follow-Monet-and-light-dark-theme-in-user-1-icon.patch => 0009-UI-Follow-Monet-and-light-dark-theme-in-user-1-icon.patch} (92%) rename patches_platform/frameworks_base/{0009-UI-Increase-default-status-bar-height.patch => 0010-UI-Increase-default-status-bar-height.patch} (91%) rename patches_platform/frameworks_base/{0010-UI-Revive-navbar-layout-tuning-via-sysui_nav_bar-tun.patch => 0011-UI-Revive-navbar-layout-tuning-via-sysui_nav_bar-tun.patch} (96%) rename patches_platform/frameworks_base/{0011-UI-Use-SNAP_FIXED_RATIO-for-multi-window-globally.patch => 0012-UI-Use-SNAP_FIXED_RATIO-for-multi-window-globally.patch} (96%) rename patches_platform/frameworks_base/{0012-core-Remove-old-app-target-SDK-dialog.patch => 0013-core-Remove-old-app-target-SDK-dialog.patch} (90%) rename patches_platform/frameworks_base/{0013-Paint-Enable-subpixel-text-positioning-by-default.patch => 0014-Paint-Enable-subpixel-text-positioning-by-default.patch} (92%) rename patches_platform/frameworks_base/{0014-Remove-debuggable-requirement-for-signature-spoofing.patch => 0015-Remove-debuggable-requirement-for-signature-spoofing.patch} (88%) create mode 100644 patches_platform/frameworks_base/0016-Display-Cutout-Error.patch rename patches_platform/frameworks_base/{0015-Revert-Adding-ColorUpdateLogger-to-track-color-updat.patch => 0017-Revert-Adding-ColorUpdateLogger-to-track-color-updat.patch} (99%) rename patches_platform/frameworks_base/{0016-Revert-Change-color-of-track.patch => 0018-Revert-Change-color-of-track.patch} (95%) rename patches_platform/frameworks_base/{0017-Revert-Fix-the-text-color-used-on-the-notification-u.patch => 0019-Revert-Fix-the-text-color-used-on-the-notification-u.patch} (89%) rename patches_platform/frameworks_base/{0018-Revert-Update-SystemUI-to-new-notification-color-spe.patch => 0020-Revert-Update-SystemUI-to-new-notification-color-spe.patch} (99%) rename patches_platform/frameworks_base/{0019-Revert-Update-framework-to-new-notification-color-sp.patch => 0021-Revert-Update-framework-to-new-notification-color-sp.patch} (98%) rename patches_platform/frameworks_base/{0020-Revert-Make-QS-always-use-dark-theme-colors.patch => 0022-Revert-Make-QS-always-use-dark-theme-colors.patch} (89%) rename patches_platform/frameworks_base/{0021-Revert-Do-not-re-inflate-QS-and-SB-when-CONFIG_UI_MO.patch => 0023-Revert-Do-not-re-inflate-QS-and-SB-when-CONFIG_UI_MO.patch} (91%) rename patches_platform/frameworks_base/{0022-SystemUI-Follow-light-dark-theme-in-quick-settings.patch => 0024-SystemUI-Follow-light-dark-theme-in-quick-settings.patch} (98%) rename patches_platform/frameworks_base/{0023-SystemUI-Use-themewrapper-for-QSCustomizer-and-tune-.patch => 0025-SystemUI-Use-themewrapper-for-QSCustomizer-and-tune-.patch} (96%) rename patches_platform/frameworks_base/{0024-SystemUI-Initialize-QS-tiles-in-inactive-state.patch => 0026-SystemUI-Initialize-QS-tiles-in-inactive-state.patch} (91%) rename patches_platform/frameworks_base/{0025-SystemUI-Add-dual-tone-light-and-dark-themes-for-QS.patch => 0027-SystemUI-Add-dual-tone-light-and-dark-themes-for-QS.patch} (98%) rename patches_platform/frameworks_base/{0026-SystemUI-Re-inflate-QS-and-SB-when-CONFIG_SCREEN_LAY.patch => 0028-SystemUI-Re-inflate-QS-and-SB-when-CONFIG_SCREEN_LAY.patch} (91%) rename patches_platform/frameworks_base/{0027-SystemUI-Follow-light-dark-theme-in-SplitShade-Heade.patch => 0029-SystemUI-Follow-light-dark-theme-in-SplitShade-Heade.patch} (98%) rename patches_platform/frameworks_base/{0028-SystemUI-Use-transparent-background-for-QS-footer.patch => 0030-SystemUI-Use-transparent-background-for-QS-footer.patch} (94%) rename patches_platform/frameworks_base/{0029-SystemUI-monet-Remove-unused-colorSchemeIsApplied.patch => 0031-SystemUI-monet-Remove-unused-colorSchemeIsApplied.patch} (96%) rename patches_platform/frameworks_base/{0030-SystemUI-Follow-Dark-Light-theme-for-Safe-Mode-dialo.patch => 0032-SystemUI-Follow-Dark-Light-theme-for-Safe-Mode-dialo.patch} (94%) rename patches_platform/frameworks_base/{0031-SystemUI-Follow-light-dark-theme-in-power-menu.patch => 0033-SystemUI-Follow-light-dark-theme-in-power-menu.patch} (96%) rename patches_platform/frameworks_base/{0032-SystemUI-Re-evaluate-system-theme-on-UI-mode-change.patch => 0034-SystemUI-Re-evaluate-system-theme-on-UI-mode-change.patch} (96%) rename patches_platform/frameworks_base/{0033-SystemUI-Fix-QS-header-clock-color.patch => 0035-SystemUI-Fix-QS-header-clock-color.patch} (94%) rename patches_platform/frameworks_base/{0034-SystemUI-Calculate-paged-QS-tiles-height-properly.patch => 0036-SystemUI-Calculate-paged-QS-tiles-height-properly.patch} (93%) rename patches_platform/frameworks_base/{0035-SystemUI-Remove-visibility-check-in-setting-QSCarrie.patch => 0037-SystemUI-Remove-visibility-check-in-setting-QSCarrie.patch} (92%) rename patches_platform/frameworks_base/{0036-SystemUI-Fix-QS-tile-dialog-background-color.patch => 0038-SystemUI-Fix-QS-tile-dialog-background-color.patch} (91%) rename patches_platform/frameworks_base/{0037-SystemUI-Use-proper-Resolver-background-color.patch => 0039-SystemUI-Use-proper-Resolver-background-color.patch} (88%) rename patches_platform/frameworks_base/{0038-SystemUI-Follow-monet-theme-on-privacy-indicators.patch => 0040-SystemUI-Follow-monet-theme-on-privacy-indicators.patch} (94%) rename patches_platform/frameworks_base/{0039-SystemUI-Follow-monet-theme-on-battery-chip.patch => 0041-SystemUI-Follow-monet-theme-on-battery-chip.patch} (95%) rename patches_platform/frameworks_base/{0040-ThemeOverlayController-Remove-repeated-monet-check.patch => 0042-ThemeOverlayController-Remove-repeated-monet-check.patch} (89%) rename patches_platform/frameworks_base/{0041-SystemUI-Use-color-accent-for-charging-animation.patch => 0043-SystemUI-Use-color-accent-for-charging-animation.patch} (94%) rename patches_platform/frameworks_base/{0042-colors_device_defaults-Add-chroma-to-light-surface-h.patch => 0044-colors_device_defaults-Add-chroma-to-light-surface-h.patch} (91%) rename patches_platform/frameworks_base/{0043-config_progress_background_tint-Use-accent-color-for.patch => 0045-config_progress_background_tint-Use-accent-color-for.patch} (88%) create mode 100644 patches_treble/device_phh_treble/0008-treble-Build-AOSP-hide-cutout-overlays.patch rename patches_treble_td/platform_frameworks_native/{0014-Fix-touch-on-Meizu-21.patch => 0014-Fix-touch-on-Meizu-21-Note.patch} (81%) diff --git a/patches_platform/frameworks_base/0001-Add-DisplayCutoutEmulationNoneOverlay.patch b/patches_platform/frameworks_base/0001-Add-DisplayCutoutEmulationNoneOverlay.patch new file mode 100644 index 00000000..a0ce3a61 --- /dev/null +++ b/patches_platform/frameworks_base/0001-Add-DisplayCutoutEmulationNoneOverlay.patch @@ -0,0 +1,191 @@ +From 1c6ae8ea3a7075d1030d042057ab335817271683 Mon Sep 17 00:00:00 2001 +From: Andy CrossGate Yan +Date: Fri, 13 Sep 2024 08:10:14 +0800 +Subject: [PATCH 01/45] Add DisplayCutoutEmulationNoneOverlay + +Unlike AvoidAppsInCutoutOverlay or NoCutoutOverlay, this overlay simply +removes cutout definitions, making full display area usable +Intended for devices with center cutouts, esp. badly defined ones + +Change-Id: I5e95bbd2dabcecbfdf8e25dea68acc86acf8fe48 +--- + packages/overlays/Android.bp | 1 + + .../Android.bp | 14 +++++++ + .../AndroidManifest.xml | 26 ++++++++++++ + .../res/values-zh-rCN/strings.xml | 21 ++++++++++ + .../res/values/config.xml | 40 +++++++++++++++++++ + .../res/values/strings.xml | 21 ++++++++++ + 6 files changed, 123 insertions(+) + create mode 100644 packages/overlays/DisplayCutoutEmulationNoneOverlay/Android.bp + create mode 100644 packages/overlays/DisplayCutoutEmulationNoneOverlay/AndroidManifest.xml + create mode 100644 packages/overlays/DisplayCutoutEmulationNoneOverlay/res/values-zh-rCN/strings.xml + create mode 100644 packages/overlays/DisplayCutoutEmulationNoneOverlay/res/values/config.xml + create mode 100644 packages/overlays/DisplayCutoutEmulationNoneOverlay/res/values/strings.xml + +diff --git a/packages/overlays/Android.bp b/packages/overlays/Android.bp +index 5e001fba6aa1..11269cbacb06 100644 +--- a/packages/overlays/Android.bp ++++ b/packages/overlays/Android.bp +@@ -25,6 +25,7 @@ phony { + "DisplayCutoutEmulationCornerOverlay", + "DisplayCutoutEmulationDoubleOverlay", + "DisplayCutoutEmulationHoleOverlay", ++ "DisplayCutoutEmulationNoneOverlay", + "DisplayCutoutEmulationTallOverlay", + "DisplayCutoutEmulationWaterfallOverlay", + "FontNotoSerifSourceOverlay", +diff --git a/packages/overlays/DisplayCutoutEmulationNoneOverlay/Android.bp b/packages/overlays/DisplayCutoutEmulationNoneOverlay/Android.bp +new file mode 100644 +index 000000000000..a61430bad341 +--- /dev/null ++++ b/packages/overlays/DisplayCutoutEmulationNoneOverlay/Android.bp +@@ -0,0 +1,14 @@ ++package { ++ // See: http://go/android-license-faq ++ // A large-scale-change added 'default_applicable_licenses' to import ++ // all of the 'license_kinds' from "frameworks_base_license" ++ // to get the below license kinds: ++ // SPDX-license-identifier-Apache-2.0 ++ default_applicable_licenses: ["frameworks_base_license"], ++} ++ ++runtime_resource_overlay { ++ name: "DisplayCutoutEmulationNoneOverlay", ++ theme: "DisplayCutoutEmulationNone", ++ product_specific: true, ++} +diff --git a/packages/overlays/DisplayCutoutEmulationNoneOverlay/AndroidManifest.xml b/packages/overlays/DisplayCutoutEmulationNoneOverlay/AndroidManifest.xml +new file mode 100644 +index 000000000000..31942fce96e4 +--- /dev/null ++++ b/packages/overlays/DisplayCutoutEmulationNoneOverlay/AndroidManifest.xml +@@ -0,0 +1,26 @@ ++ ++ ++ ++ ++ ++ ++ +diff --git a/packages/overlays/DisplayCutoutEmulationNoneOverlay/res/values-zh-rCN/strings.xml b/packages/overlays/DisplayCutoutEmulationNoneOverlay/res/values-zh-rCN/strings.xml +new file mode 100644 +index 000000000000..c2440981dfad +--- /dev/null ++++ b/packages/overlays/DisplayCutoutEmulationNoneOverlay/res/values-zh-rCN/strings.xml +@@ -0,0 +1,21 @@ ++ ++ ++ ++ ++ "无" ++ +diff --git a/packages/overlays/DisplayCutoutEmulationNoneOverlay/res/values/config.xml b/packages/overlays/DisplayCutoutEmulationNoneOverlay/res/values/config.xml +new file mode 100644 +index 000000000000..613eaa7dab6a +--- /dev/null ++++ b/packages/overlays/DisplayCutoutEmulationNoneOverlay/res/values/config.xml +@@ -0,0 +1,40 @@ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ false ++ +diff --git a/packages/overlays/DisplayCutoutEmulationNoneOverlay/res/values/strings.xml b/packages/overlays/DisplayCutoutEmulationNoneOverlay/res/values/strings.xml +new file mode 100644 +index 000000000000..382c67cfec13 +--- /dev/null ++++ b/packages/overlays/DisplayCutoutEmulationNoneOverlay/res/values/strings.xml +@@ -0,0 +1,21 @@ ++ ++ ++ ++ ++ None ++ ++ +-- +2.34.1 + diff --git a/patches_platform/frameworks_base/0001-Disable-FP-lockouts-optionally.patch b/patches_platform/frameworks_base/0002-Disable-FP-lockouts-optionally.patch similarity index 96% rename from patches_platform/frameworks_base/0001-Disable-FP-lockouts-optionally.patch rename to patches_platform/frameworks_base/0002-Disable-FP-lockouts-optionally.patch index 659401b0..fde23eca 100644 --- a/patches_platform/frameworks_base/0001-Disable-FP-lockouts-optionally.patch +++ b/patches_platform/frameworks_base/0002-Disable-FP-lockouts-optionally.patch @@ -1,7 +1,7 @@ -From e535be2c76e6969ca8a58023b203bf66cfe0d3ae Mon Sep 17 00:00:00 2001 +From b3430ef517e91fb3305cbfbd564eea5a9fa747cd Mon Sep 17 00:00:00 2001 From: AndyCGYan Date: Fri, 22 Mar 2019 00:41:20 +0800 -Subject: [PATCH 01/43] Disable FP lockouts optionally +Subject: [PATCH 02/45] Disable FP lockouts optionally Both timed and permanent lockouts - GET THE FUCK OUT Now targeting LockoutFramework, introduced in Android 12 diff --git a/patches_platform/frameworks_base/0002-Disable-vendor-mismatch-warning.patch b/patches_platform/frameworks_base/0003-Disable-vendor-mismatch-warning.patch similarity index 94% rename from patches_platform/frameworks_base/0002-Disable-vendor-mismatch-warning.patch rename to patches_platform/frameworks_base/0003-Disable-vendor-mismatch-warning.patch index 23dcf014..a985b26c 100644 --- a/patches_platform/frameworks_base/0002-Disable-vendor-mismatch-warning.patch +++ b/patches_platform/frameworks_base/0003-Disable-vendor-mismatch-warning.patch @@ -1,7 +1,7 @@ -From 8595258b7aac74763f6f8b7edbe37b91f0a4c1a5 Mon Sep 17 00:00:00 2001 +From 15427fc090a36f299ba56e66a4ce2dbc31475982 Mon Sep 17 00:00:00 2001 From: Andy CrossGate Yan Date: Thu, 5 Apr 2018 10:01:19 +0800 -Subject: [PATCH 02/43] Disable vendor mismatch warning +Subject: [PATCH 03/45] Disable vendor mismatch warning Change-Id: Ieb8fe91e2f02462f074312ed0f4885d183e9780b --- diff --git a/patches_platform/frameworks_base/0003-Keyguard-Allow-locking-to-any-rotation-mode.patch b/patches_platform/frameworks_base/0004-Keyguard-Allow-locking-to-any-rotation-mode.patch similarity index 92% rename from patches_platform/frameworks_base/0003-Keyguard-Allow-locking-to-any-rotation-mode.patch rename to patches_platform/frameworks_base/0004-Keyguard-Allow-locking-to-any-rotation-mode.patch index 00ad41b1..91ffe275 100644 --- a/patches_platform/frameworks_base/0003-Keyguard-Allow-locking-to-any-rotation-mode.patch +++ b/patches_platform/frameworks_base/0004-Keyguard-Allow-locking-to-any-rotation-mode.patch @@ -1,7 +1,7 @@ -From 51ff3c370b9a75bb98f949506afe2dd1aafc6ca7 Mon Sep 17 00:00:00 2001 +From 83c817d4704fa9537662a9d631b48c2202f8eeb2 Mon Sep 17 00:00:00 2001 From: Andy CrossGate Yan Date: Sun, 21 Jan 2024 22:03:47 +0800 -Subject: [PATCH 03/43] Keyguard: Allow locking to any rotation mode +Subject: [PATCH 04/45] Keyguard: Allow locking to any rotation mode Change-Id: I0f12c433f3547e9bfcdbc2cf50e2a4f3ec8ca311 --- diff --git a/patches_platform/frameworks_base/0004-Keyguard-Fix-colors-of-slices-not-updating-on-doze.patch b/patches_platform/frameworks_base/0005-Keyguard-Fix-colors-of-slices-not-updating-on-doze.patch similarity index 94% rename from patches_platform/frameworks_base/0004-Keyguard-Fix-colors-of-slices-not-updating-on-doze.patch rename to patches_platform/frameworks_base/0005-Keyguard-Fix-colors-of-slices-not-updating-on-doze.patch index 2b6440ee..bfb4a2ec 100644 --- a/patches_platform/frameworks_base/0004-Keyguard-Fix-colors-of-slices-not-updating-on-doze.patch +++ b/patches_platform/frameworks_base/0005-Keyguard-Fix-colors-of-slices-not-updating-on-doze.patch @@ -1,7 +1,7 @@ -From b2c40aa3a127825dfacf3006d18639557dd4064d Mon Sep 17 00:00:00 2001 +From bc84cdb372eee206df39d5f05080b1d32d977238 Mon Sep 17 00:00:00 2001 From: Andy CrossGate Yan Date: Tue, 17 Jan 2023 17:19:19 +0000 -Subject: [PATCH 04/43] Keyguard: Fix colors of slices not updating on doze +Subject: [PATCH 05/45] Keyguard: Fix colors of slices not updating on doze Slices were invisible (black) in doze when using light wallpapers Introduced in https://github.com/LineageOS/android_frameworks_base/commit/a19e59d717ec6d573c11c7e8277bba3c4de189c2 diff --git a/patches_platform/frameworks_base/0005-UI-Adjust-default-navbar-layouts.patch b/patches_platform/frameworks_base/0006-UI-Adjust-default-navbar-layouts.patch similarity index 95% rename from patches_platform/frameworks_base/0005-UI-Adjust-default-navbar-layouts.patch rename to patches_platform/frameworks_base/0006-UI-Adjust-default-navbar-layouts.patch index 0e26906e..1b4db332 100644 --- a/patches_platform/frameworks_base/0005-UI-Adjust-default-navbar-layouts.patch +++ b/patches_platform/frameworks_base/0006-UI-Adjust-default-navbar-layouts.patch @@ -1,7 +1,7 @@ -From cf2228c2c69638c3acf728e6eefda51e2e33cbd7 Mon Sep 17 00:00:00 2001 +From 95388febcf538f6c8f2a7425a1dd65187dbb2484 Mon Sep 17 00:00:00 2001 From: Andy CrossGate Yan Date: Sat, 16 Oct 2021 02:23:48 +0000 -Subject: [PATCH 05/43] UI: Adjust default navbar layouts +Subject: [PATCH 06/45] UI: Adjust default navbar layouts - Slightly tighten nodpi layout - Remove sw372dp layout - looks terrible, probably meant for legacy phablets, but most modern phones qualify diff --git a/patches_platform/frameworks_base/0006-UI-Adjust-split-screen-divider.patch b/patches_platform/frameworks_base/0007-UI-Adjust-split-screen-divider.patch similarity index 98% rename from patches_platform/frameworks_base/0006-UI-Adjust-split-screen-divider.patch rename to patches_platform/frameworks_base/0007-UI-Adjust-split-screen-divider.patch index 8bee43c0..a7630993 100644 --- a/patches_platform/frameworks_base/0006-UI-Adjust-split-screen-divider.patch +++ b/patches_platform/frameworks_base/0007-UI-Adjust-split-screen-divider.patch @@ -1,7 +1,7 @@ -From 2ff1e12e1ff9952fe489c9023eb76d342af1ddbf Mon Sep 17 00:00:00 2001 +From 00ce8a490784f8303a042a81d07e73508dc90639 Mon Sep 17 00:00:00 2001 From: Andy CrossGate Yan Date: Sat, 19 Mar 2022 09:22:24 +0000 -Subject: [PATCH 06/43] UI: Adjust split-screen divider +Subject: [PATCH 07/45] UI: Adjust split-screen divider - Kill rounded corners - where two rectangles collide should be perfectly straight - Make it black (pre-Sv2) for phones diff --git a/patches_platform/frameworks_base/0007-UI-Disable-wallpaper-zoom.patch b/patches_platform/frameworks_base/0008-UI-Disable-wallpaper-zoom.patch similarity index 89% rename from patches_platform/frameworks_base/0007-UI-Disable-wallpaper-zoom.patch rename to patches_platform/frameworks_base/0008-UI-Disable-wallpaper-zoom.patch index 355c5d5c..2dfe4ba4 100644 --- a/patches_platform/frameworks_base/0007-UI-Disable-wallpaper-zoom.patch +++ b/patches_platform/frameworks_base/0008-UI-Disable-wallpaper-zoom.patch @@ -1,7 +1,7 @@ -From 6cdab07dbf6a812c1c2daf80c292fa9088143572 Mon Sep 17 00:00:00 2001 +From a47ab249f90e7c0019e97b7b62fb4359e6bfcc9e Mon Sep 17 00:00:00 2001 From: Andy CrossGate Yan Date: Sun, 10 Jan 2021 11:44:29 +0000 -Subject: [PATCH 07/43] UI: Disable wallpaper zoom +Subject: [PATCH 08/45] UI: Disable wallpaper zoom It does little more than inducing motion sickness diff --git a/patches_platform/frameworks_base/0008-UI-Follow-Monet-and-light-dark-theme-in-user-1-icon.patch b/patches_platform/frameworks_base/0009-UI-Follow-Monet-and-light-dark-theme-in-user-1-icon.patch similarity index 92% rename from patches_platform/frameworks_base/0008-UI-Follow-Monet-and-light-dark-theme-in-user-1-icon.patch rename to patches_platform/frameworks_base/0009-UI-Follow-Monet-and-light-dark-theme-in-user-1-icon.patch index 4a52a9a9..ec693f15 100644 --- a/patches_platform/frameworks_base/0008-UI-Follow-Monet-and-light-dark-theme-in-user-1-icon.patch +++ b/patches_platform/frameworks_base/0009-UI-Follow-Monet-and-light-dark-theme-in-user-1-icon.patch @@ -1,7 +1,7 @@ -From bfc38ff3a5a13606880951948d8e09b430405e25 Mon Sep 17 00:00:00 2001 +From 46317e08a2c9a1cd9cf9a7d6f790404d3eebeff5 Mon Sep 17 00:00:00 2001 From: Andy CrossGate Yan Date: Sun, 25 Sep 2022 02:20:52 +0000 -Subject: [PATCH 08/43] UI: Follow Monet and light/dark theme in user 1 icon +Subject: [PATCH 09/45] UI: Follow Monet and light/dark theme in user 1 icon Change-Id: I755077c6003c39ddc9428da1defe6a6ddd0e5ff8 --- diff --git a/patches_platform/frameworks_base/0009-UI-Increase-default-status-bar-height.patch b/patches_platform/frameworks_base/0010-UI-Increase-default-status-bar-height.patch similarity index 91% rename from patches_platform/frameworks_base/0009-UI-Increase-default-status-bar-height.patch rename to patches_platform/frameworks_base/0010-UI-Increase-default-status-bar-height.patch index c3fcb45b..d226d98e 100644 --- a/patches_platform/frameworks_base/0009-UI-Increase-default-status-bar-height.patch +++ b/patches_platform/frameworks_base/0010-UI-Increase-default-status-bar-height.patch @@ -1,7 +1,7 @@ -From d53bbfe5b348426411d7c5739ec9910c2fcd3009 Mon Sep 17 00:00:00 2001 +From c456235df93c818dd52a4087429d38870a9bbca9 Mon Sep 17 00:00:00 2001 From: Andy CrossGate Yan Date: Wed, 3 Jun 2020 01:31:34 +0000 -Subject: [PATCH 09/43] UI: Increase default status bar height +Subject: [PATCH 10/45] UI: Increase default status bar height Change-Id: Ibbcf63159e19bb2bb2b1094ea07ab85917630b07 --- diff --git a/patches_platform/frameworks_base/0010-UI-Revive-navbar-layout-tuning-via-sysui_nav_bar-tun.patch b/patches_platform/frameworks_base/0011-UI-Revive-navbar-layout-tuning-via-sysui_nav_bar-tun.patch similarity index 96% rename from patches_platform/frameworks_base/0010-UI-Revive-navbar-layout-tuning-via-sysui_nav_bar-tun.patch rename to patches_platform/frameworks_base/0011-UI-Revive-navbar-layout-tuning-via-sysui_nav_bar-tun.patch index a51b0ffe..72aba3f0 100644 --- a/patches_platform/frameworks_base/0010-UI-Revive-navbar-layout-tuning-via-sysui_nav_bar-tun.patch +++ b/patches_platform/frameworks_base/0011-UI-Revive-navbar-layout-tuning-via-sysui_nav_bar-tun.patch @@ -1,7 +1,7 @@ -From 6e308897ce7844197aa8cbc7bf43b2cdaa54a3df Mon Sep 17 00:00:00 2001 +From f49be883011f6787c6a48fc0fd4916817bd2d20e Mon Sep 17 00:00:00 2001 From: Andy CrossGate Yan Date: Tue, 6 Oct 2020 01:41:16 +0000 -Subject: [PATCH 10/43] UI: Revive navbar layout tuning via sysui_nav_bar +Subject: [PATCH 11/45] UI: Revive navbar layout tuning via sysui_nav_bar tunable Google keeps fixing what ain't broken. diff --git a/patches_platform/frameworks_base/0011-UI-Use-SNAP_FIXED_RATIO-for-multi-window-globally.patch b/patches_platform/frameworks_base/0012-UI-Use-SNAP_FIXED_RATIO-for-multi-window-globally.patch similarity index 96% rename from patches_platform/frameworks_base/0011-UI-Use-SNAP_FIXED_RATIO-for-multi-window-globally.patch rename to patches_platform/frameworks_base/0012-UI-Use-SNAP_FIXED_RATIO-for-multi-window-globally.patch index 01a5efab..19c2ce2c 100644 --- a/patches_platform/frameworks_base/0011-UI-Use-SNAP_FIXED_RATIO-for-multi-window-globally.patch +++ b/patches_platform/frameworks_base/0012-UI-Use-SNAP_FIXED_RATIO-for-multi-window-globally.patch @@ -1,7 +1,7 @@ -From 7d5902f123cc883437cf198fcc1d40c6773129a9 Mon Sep 17 00:00:00 2001 +From bd65f50c07c82d87a717a045fcf1ef67cd3ba84b Mon Sep 17 00:00:00 2001 From: Andy CrossGate Yan Date: Sun, 26 Apr 2020 08:56:13 +0000 -Subject: [PATCH 11/43] UI: Use SNAP_FIXED_RATIO for multi-window globally +Subject: [PATCH 12/45] UI: Use SNAP_FIXED_RATIO for multi-window globally Enables multiple snap targets under landscape for phone UI diff --git a/patches_platform/frameworks_base/0012-core-Remove-old-app-target-SDK-dialog.patch b/patches_platform/frameworks_base/0013-core-Remove-old-app-target-SDK-dialog.patch similarity index 90% rename from patches_platform/frameworks_base/0012-core-Remove-old-app-target-SDK-dialog.patch rename to patches_platform/frameworks_base/0013-core-Remove-old-app-target-SDK-dialog.patch index 75f8f933..dcac6bb7 100644 --- a/patches_platform/frameworks_base/0012-core-Remove-old-app-target-SDK-dialog.patch +++ b/patches_platform/frameworks_base/0013-core-Remove-old-app-target-SDK-dialog.patch @@ -1,7 +1,7 @@ -From 2717db2bc74bbebcde07904bdf52afae2da35cfa Mon Sep 17 00:00:00 2001 +From a0cbbb02a34dfb198b3e76585b10fb402e56577f Mon Sep 17 00:00:00 2001 From: Danny Lin Date: Tue, 3 Nov 2020 22:43:12 -0800 -Subject: [PATCH 12/43] core: Remove old app target SDK dialog +Subject: [PATCH 13/45] core: Remove old app target SDK dialog If an app is old, users should already know that, and there's usually no point in warning them about it because they would already be using a diff --git a/patches_platform/frameworks_base/0013-Paint-Enable-subpixel-text-positioning-by-default.patch b/patches_platform/frameworks_base/0014-Paint-Enable-subpixel-text-positioning-by-default.patch similarity index 92% rename from patches_platform/frameworks_base/0013-Paint-Enable-subpixel-text-positioning-by-default.patch rename to patches_platform/frameworks_base/0014-Paint-Enable-subpixel-text-positioning-by-default.patch index 674b833f..0b8719c1 100644 --- a/patches_platform/frameworks_base/0013-Paint-Enable-subpixel-text-positioning-by-default.patch +++ b/patches_platform/frameworks_base/0014-Paint-Enable-subpixel-text-positioning-by-default.patch @@ -1,7 +1,7 @@ -From 38fbb12c2b6ce42d78e05248410c1de666d46700 Mon Sep 17 00:00:00 2001 +From cdeee973b327704be608919a7f39eb6b4f23d1d7 Mon Sep 17 00:00:00 2001 From: Danny Lin Date: Tue, 5 Oct 2021 21:01:50 -0700 -Subject: [PATCH 13/43] Paint: Enable subpixel text positioning by default +Subject: [PATCH 14/45] Paint: Enable subpixel text positioning by default On desktop Linux, subpixel text positioning is necessary to avoid kerning issues, and Android is no different. Even though most phone diff --git a/patches_platform/frameworks_base/0014-Remove-debuggable-requirement-for-signature-spoofing.patch b/patches_platform/frameworks_base/0015-Remove-debuggable-requirement-for-signature-spoofing.patch similarity index 88% rename from patches_platform/frameworks_base/0014-Remove-debuggable-requirement-for-signature-spoofing.patch rename to patches_platform/frameworks_base/0015-Remove-debuggable-requirement-for-signature-spoofing.patch index fc6e8e29..fedd45c5 100644 --- a/patches_platform/frameworks_base/0014-Remove-debuggable-requirement-for-signature-spoofing.patch +++ b/patches_platform/frameworks_base/0015-Remove-debuggable-requirement-for-signature-spoofing.patch @@ -1,7 +1,7 @@ -From 76893bd08d5c89685320342db2a3bcec2bc981f5 Mon Sep 17 00:00:00 2001 +From 229f40cdfbc7f1721b742571c484ebf3ad75a4ad Mon Sep 17 00:00:00 2001 From: Andy CrossGate Yan Date: Sun, 17 Mar 2024 17:10:38 +0800 -Subject: [PATCH 14/43] Remove debuggable requirement for signature spoofing +Subject: [PATCH 15/45] Remove debuggable requirement for signature spoofing Change-Id: I8d637ddbbd117a9c5b1d9c5e462b0f4b30d98333 --- diff --git a/patches_platform/frameworks_base/0016-Display-Cutout-Error.patch b/patches_platform/frameworks_base/0016-Display-Cutout-Error.patch new file mode 100644 index 00000000..7f657776 --- /dev/null +++ b/patches_platform/frameworks_base/0016-Display-Cutout-Error.patch @@ -0,0 +1,34 @@ +From 45d2f321fd992af530d7bf92738887504bff149a Mon Sep 17 00:00:00 2001 +From: Andrew Cole +Date: Tue, 7 May 2024 15:19:16 +0000 +Subject: [PATCH 16/45] Display Cutout Error + +Removing a historical unsupported exception for square display cutouts. +This was causing falkiness in tests for the notifications team. + +Flag: None +Test: SystemUIGoogleScreenshotTests +Bug: 329438697 +Change-Id: I545b4b7531312ce4f5b0bdc2902002d96fbeca43 +--- + core/java/android/view/DisplayCutout.java | 4 ---- + 1 file changed, 4 deletions(-) + +diff --git a/core/java/android/view/DisplayCutout.java b/core/java/android/view/DisplayCutout.java +index db665a92ec5c..c4becea462d5 100644 +--- a/core/java/android/view/DisplayCutout.java ++++ b/core/java/android/view/DisplayCutout.java +@@ -1392,10 +1392,6 @@ public final class DisplayCutout { + + private static Rect computeSafeInsets(int displayW, int displayH, Insets waterFallInsets, + Rect[] bounds) { +- if (displayW == displayH) { +- throw new UnsupportedOperationException("not implemented: display=" + displayW + "x" +- + displayH + " bounding rects=" + Arrays.toString(bounds)); +- } + + int leftInset = Math.max(waterFallInsets.left, findCutoutInsetForSide( + displayW, displayH, bounds[BOUNDS_POSITION_LEFT], Gravity.LEFT)); +-- +2.34.1 + diff --git a/patches_platform/frameworks_base/0015-Revert-Adding-ColorUpdateLogger-to-track-color-updat.patch b/patches_platform/frameworks_base/0017-Revert-Adding-ColorUpdateLogger-to-track-color-updat.patch similarity index 99% rename from patches_platform/frameworks_base/0015-Revert-Adding-ColorUpdateLogger-to-track-color-updat.patch rename to patches_platform/frameworks_base/0017-Revert-Adding-ColorUpdateLogger-to-track-color-updat.patch index 2b732ef5..c6a5ce87 100644 --- a/patches_platform/frameworks_base/0015-Revert-Adding-ColorUpdateLogger-to-track-color-updat.patch +++ b/patches_platform/frameworks_base/0017-Revert-Adding-ColorUpdateLogger-to-track-color-updat.patch @@ -1,7 +1,7 @@ -From 533b667c2588eb8b241da7ccbb1955190cbda4c7 Mon Sep 17 00:00:00 2001 +From a4d3bd4777ada3fd7c5d1063732559faa4194857 Mon Sep 17 00:00:00 2001 From: Andy CrossGate Yan Date: Sun, 30 Jun 2024 15:53:25 +0800 -Subject: [PATCH 15/43] Revert "Adding ColorUpdateLogger to track color updates +Subject: [PATCH 17/45] Revert "Adding ColorUpdateLogger to track color updates so that we demonstrate the root cause of our theme bugs" This reverts commit 3a819dee1225de25f0e228ef2c1b9447eb081661. diff --git a/patches_platform/frameworks_base/0016-Revert-Change-color-of-track.patch b/patches_platform/frameworks_base/0018-Revert-Change-color-of-track.patch similarity index 95% rename from patches_platform/frameworks_base/0016-Revert-Change-color-of-track.patch rename to patches_platform/frameworks_base/0018-Revert-Change-color-of-track.patch index 443dc1d7..4f93ea4a 100644 --- a/patches_platform/frameworks_base/0016-Revert-Change-color-of-track.patch +++ b/patches_platform/frameworks_base/0018-Revert-Change-color-of-track.patch @@ -1,7 +1,7 @@ -From 2f0cb797274c27772f923c7a07ef830c12ddbfd4 Mon Sep 17 00:00:00 2001 +From 8a050d13fe7128be39a4ae61adcb36a842ef10cb Mon Sep 17 00:00:00 2001 From: Andy CrossGate Yan Date: Sun, 30 Jun 2024 16:49:47 +0800 -Subject: [PATCH 16/43] Revert "Change color of track" +Subject: [PATCH 18/45] Revert "Change color of track" This reverts commit 9ba91db9836625e5f45367b38b76cf08615cce00. --- diff --git a/patches_platform/frameworks_base/0017-Revert-Fix-the-text-color-used-on-the-notification-u.patch b/patches_platform/frameworks_base/0019-Revert-Fix-the-text-color-used-on-the-notification-u.patch similarity index 89% rename from patches_platform/frameworks_base/0017-Revert-Fix-the-text-color-used-on-the-notification-u.patch rename to patches_platform/frameworks_base/0019-Revert-Fix-the-text-color-used-on-the-notification-u.patch index 185e2c52..e131590b 100644 --- a/patches_platform/frameworks_base/0017-Revert-Fix-the-text-color-used-on-the-notification-u.patch +++ b/patches_platform/frameworks_base/0019-Revert-Fix-the-text-color-used-on-the-notification-u.patch @@ -1,7 +1,7 @@ -From 587d8c7b04046a1a52c6dba36dbafaf95911b30e Mon Sep 17 00:00:00 2001 +From fd5556279e9b68f6589342d49eb9cbb6f8ff1c31 Mon Sep 17 00:00:00 2001 From: Andy CrossGate Yan Date: Sun, 30 Jun 2024 16:13:51 +0800 -Subject: [PATCH 17/43] Revert "Fix the text color used on the notification +Subject: [PATCH 19/45] Revert "Fix the text color used on the notification unread indicator." This reverts commit aee60c49308a81125587ea0c53f40c9d5d60707e. diff --git a/patches_platform/frameworks_base/0018-Revert-Update-SystemUI-to-new-notification-color-spe.patch b/patches_platform/frameworks_base/0020-Revert-Update-SystemUI-to-new-notification-color-spe.patch similarity index 99% rename from patches_platform/frameworks_base/0018-Revert-Update-SystemUI-to-new-notification-color-spe.patch rename to patches_platform/frameworks_base/0020-Revert-Update-SystemUI-to-new-notification-color-spe.patch index e8ea5c12..88ed4912 100644 --- a/patches_platform/frameworks_base/0018-Revert-Update-SystemUI-to-new-notification-color-spe.patch +++ b/patches_platform/frameworks_base/0020-Revert-Update-SystemUI-to-new-notification-color-spe.patch @@ -1,7 +1,7 @@ -From 912eb2ce819f09cf4e4592833547ea94b8ee3d80 Mon Sep 17 00:00:00 2001 +From 1e3a4df97b8cbacb6bf659079c50df17ed6bd63d Mon Sep 17 00:00:00 2001 From: Andy CrossGate Yan Date: Thu, 4 Apr 2024 18:26:02 +0800 -Subject: [PATCH 18/43] Revert "Update SystemUI to new notification color spec" +Subject: [PATCH 20/45] Revert "Update SystemUI to new notification color spec" This reverts commit db2c5554ac653567d1433d3ff99328c5d855c233. diff --git a/patches_platform/frameworks_base/0019-Revert-Update-framework-to-new-notification-color-sp.patch b/patches_platform/frameworks_base/0021-Revert-Update-framework-to-new-notification-color-sp.patch similarity index 98% rename from patches_platform/frameworks_base/0019-Revert-Update-framework-to-new-notification-color-sp.patch rename to patches_platform/frameworks_base/0021-Revert-Update-framework-to-new-notification-color-sp.patch index dd2008dd..c3981367 100644 --- a/patches_platform/frameworks_base/0019-Revert-Update-framework-to-new-notification-color-sp.patch +++ b/patches_platform/frameworks_base/0021-Revert-Update-framework-to-new-notification-color-sp.patch @@ -1,7 +1,7 @@ -From ddefb3aa749044a6b4838687f669c390512c6711 Mon Sep 17 00:00:00 2001 +From 40bb1385a5b6005fe922cf091bb93039125c0416 Mon Sep 17 00:00:00 2001 From: Andy CrossGate Yan Date: Thu, 4 Apr 2024 18:26:08 +0800 -Subject: [PATCH 19/43] Revert "Update framework to new notification color +Subject: [PATCH 21/45] Revert "Update framework to new notification color spec" This reverts commit 6063e254e0cc84243e3a3fb85fe1bff71b302a87. diff --git a/patches_platform/frameworks_base/0020-Revert-Make-QS-always-use-dark-theme-colors.patch b/patches_platform/frameworks_base/0022-Revert-Make-QS-always-use-dark-theme-colors.patch similarity index 89% rename from patches_platform/frameworks_base/0020-Revert-Make-QS-always-use-dark-theme-colors.patch rename to patches_platform/frameworks_base/0022-Revert-Make-QS-always-use-dark-theme-colors.patch index dad37920..8743b07f 100644 --- a/patches_platform/frameworks_base/0020-Revert-Make-QS-always-use-dark-theme-colors.patch +++ b/patches_platform/frameworks_base/0022-Revert-Make-QS-always-use-dark-theme-colors.patch @@ -1,7 +1,7 @@ -From 8a7d67d51befd145133c5ef14ba28988e26d991f Mon Sep 17 00:00:00 2001 +From 41e8ad63296998bdadb9d2a148720bf4949fe809 Mon Sep 17 00:00:00 2001 From: Danny Lin Date: Wed, 6 Oct 2021 18:40:30 -0700 -Subject: [PATCH 20/43] Revert "Make QS always use dark theme colors" +Subject: [PATCH 22/45] Revert "Make QS always use dark theme colors" This reverts commit d62f7249f9e3222da95ecf6816601c408aac6be5. diff --git a/patches_platform/frameworks_base/0021-Revert-Do-not-re-inflate-QS-and-SB-when-CONFIG_UI_MO.patch b/patches_platform/frameworks_base/0023-Revert-Do-not-re-inflate-QS-and-SB-when-CONFIG_UI_MO.patch similarity index 91% rename from patches_platform/frameworks_base/0021-Revert-Do-not-re-inflate-QS-and-SB-when-CONFIG_UI_MO.patch rename to patches_platform/frameworks_base/0023-Revert-Do-not-re-inflate-QS-and-SB-when-CONFIG_UI_MO.patch index 79aabbf3..1ec712f3 100644 --- a/patches_platform/frameworks_base/0021-Revert-Do-not-re-inflate-QS-and-SB-when-CONFIG_UI_MO.patch +++ b/patches_platform/frameworks_base/0023-Revert-Do-not-re-inflate-QS-and-SB-when-CONFIG_UI_MO.patch @@ -1,7 +1,7 @@ -From 5235e78b8933c01f407adf7d19f30ccd19d0ad16 Mon Sep 17 00:00:00 2001 +From 89ba5358aef90e3cd81140f7e99bc8360c3718ad Mon Sep 17 00:00:00 2001 From: Danny Lin Date: Wed, 6 Oct 2021 18:41:11 -0700 -Subject: [PATCH 21/43] Revert "Do not re-inflate QS and SB when +Subject: [PATCH 23/45] Revert "Do not re-inflate QS and SB when CONFIG_UI_MODE" This reverts commit 8a40ff855b86bc86e23367017002289920855a4e. diff --git a/patches_platform/frameworks_base/0022-SystemUI-Follow-light-dark-theme-in-quick-settings.patch b/patches_platform/frameworks_base/0024-SystemUI-Follow-light-dark-theme-in-quick-settings.patch similarity index 98% rename from patches_platform/frameworks_base/0022-SystemUI-Follow-light-dark-theme-in-quick-settings.patch rename to patches_platform/frameworks_base/0024-SystemUI-Follow-light-dark-theme-in-quick-settings.patch index dcebcc68..e70eec11 100644 --- a/patches_platform/frameworks_base/0022-SystemUI-Follow-light-dark-theme-in-quick-settings.patch +++ b/patches_platform/frameworks_base/0024-SystemUI-Follow-light-dark-theme-in-quick-settings.patch @@ -1,7 +1,7 @@ -From 4325ec74e21420a222860e473e9062c874046f9d Mon Sep 17 00:00:00 2001 +From 1ff389630a82996991bce5f4c8d10084cc93760c Mon Sep 17 00:00:00 2001 From: Danny Lin Date: Mon, 11 Oct 2021 19:24:58 -0700 -Subject: [PATCH 22/43] SystemUI: Follow light/dark theme in quick settings +Subject: [PATCH 24/45] SystemUI: Follow light/dark theme in quick settings Android 12's dual-tone style where the quick settings panel is always dark makes the light theme look like a second-class citizen. Pure black diff --git a/patches_platform/frameworks_base/0023-SystemUI-Use-themewrapper-for-QSCustomizer-and-tune-.patch b/patches_platform/frameworks_base/0025-SystemUI-Use-themewrapper-for-QSCustomizer-and-tune-.patch similarity index 96% rename from patches_platform/frameworks_base/0023-SystemUI-Use-themewrapper-for-QSCustomizer-and-tune-.patch rename to patches_platform/frameworks_base/0025-SystemUI-Use-themewrapper-for-QSCustomizer-and-tune-.patch index e4cbfd09..6541c394 100644 --- a/patches_platform/frameworks_base/0023-SystemUI-Use-themewrapper-for-QSCustomizer-and-tune-.patch +++ b/patches_platform/frameworks_base/0025-SystemUI-Use-themewrapper-for-QSCustomizer-and-tune-.patch @@ -1,7 +1,7 @@ -From eb8f957832c7c8e26dc0f006eda85e169ff9a020 Mon Sep 17 00:00:00 2001 +From d0f71ba7a893c5b7e67a6c03b458e271d6a0dea6 Mon Sep 17 00:00:00 2001 From: Pranav Vashi Date: Wed, 13 Dec 2023 23:24:29 +0530 -Subject: [PATCH 23/43] SystemUI: Use themewrapper for QSCustomizer and tune +Subject: [PATCH 25/45] SystemUI: Use themewrapper for QSCustomizer and tune colorUnavailable * Restores behvavior from A13 for colorUnavailable, shadeDisabled is now unused. diff --git a/patches_platform/frameworks_base/0024-SystemUI-Initialize-QS-tiles-in-inactive-state.patch b/patches_platform/frameworks_base/0026-SystemUI-Initialize-QS-tiles-in-inactive-state.patch similarity index 91% rename from patches_platform/frameworks_base/0024-SystemUI-Initialize-QS-tiles-in-inactive-state.patch rename to patches_platform/frameworks_base/0026-SystemUI-Initialize-QS-tiles-in-inactive-state.patch index 69eb6925..e13dbb90 100644 --- a/patches_platform/frameworks_base/0024-SystemUI-Initialize-QS-tiles-in-inactive-state.patch +++ b/patches_platform/frameworks_base/0026-SystemUI-Initialize-QS-tiles-in-inactive-state.patch @@ -1,7 +1,7 @@ -From 09b4775be2cb7bf94ba4815025164c41de1a1baf Mon Sep 17 00:00:00 2001 +From 089850d984827abec284fcedc5f20dd673099a56 Mon Sep 17 00:00:00 2001 From: Danny Lin Date: Mon, 11 Oct 2021 19:25:02 -0700 -Subject: [PATCH 24/43] SystemUI: Initialize QS tiles in inactive state +Subject: [PATCH 26/45] SystemUI: Initialize QS tiles in inactive state Now that the QS fragment is recreated when changing the UI mode (so that it follows light/dark themes), all tiles flash with active color briefly diff --git a/patches_platform/frameworks_base/0025-SystemUI-Add-dual-tone-light-and-dark-themes-for-QS.patch b/patches_platform/frameworks_base/0027-SystemUI-Add-dual-tone-light-and-dark-themes-for-QS.patch similarity index 98% rename from patches_platform/frameworks_base/0025-SystemUI-Add-dual-tone-light-and-dark-themes-for-QS.patch rename to patches_platform/frameworks_base/0027-SystemUI-Add-dual-tone-light-and-dark-themes-for-QS.patch index 87d12f44..a976a533 100644 --- a/patches_platform/frameworks_base/0025-SystemUI-Add-dual-tone-light-and-dark-themes-for-QS.patch +++ b/patches_platform/frameworks_base/0027-SystemUI-Add-dual-tone-light-and-dark-themes-for-QS.patch @@ -1,7 +1,7 @@ -From 575e6dd46703bc9f89f5263c1256f822758e91be Mon Sep 17 00:00:00 2001 +From f63f2c10203a236c685e252d3ae27df84dc15f5f Mon Sep 17 00:00:00 2001 From: Danny Lin Date: Mon, 11 Oct 2021 19:25:08 -0700 -Subject: [PATCH 25/43] SystemUI: Add dual-tone light and dark themes for QS +Subject: [PATCH 27/45] SystemUI: Add dual-tone light and dark themes for QS Google's dual-tone QS design where the notification panel has a semantically higher elevation adds depth to the notification+QS shade, diff --git a/patches_platform/frameworks_base/0026-SystemUI-Re-inflate-QS-and-SB-when-CONFIG_SCREEN_LAY.patch b/patches_platform/frameworks_base/0028-SystemUI-Re-inflate-QS-and-SB-when-CONFIG_SCREEN_LAY.patch similarity index 91% rename from patches_platform/frameworks_base/0026-SystemUI-Re-inflate-QS-and-SB-when-CONFIG_SCREEN_LAY.patch rename to patches_platform/frameworks_base/0028-SystemUI-Re-inflate-QS-and-SB-when-CONFIG_SCREEN_LAY.patch index 9150a2dd..43af9217 100644 --- a/patches_platform/frameworks_base/0026-SystemUI-Re-inflate-QS-and-SB-when-CONFIG_SCREEN_LAY.patch +++ b/patches_platform/frameworks_base/0028-SystemUI-Re-inflate-QS-and-SB-when-CONFIG_SCREEN_LAY.patch @@ -1,7 +1,7 @@ -From 34d21f61d76203231ff42497168e91b9f04521ef Mon Sep 17 00:00:00 2001 +From 84f0d4389c4343f4a1affdc478ae02e9c3bf6af8 Mon Sep 17 00:00:00 2001 From: althafvly Date: Tue, 4 Oct 2022 18:34:08 +0530 -Subject: [PATCH 26/43] SystemUI: Re-inflate QS and SB when +Subject: [PATCH 28/45] SystemUI: Re-inflate QS and SB when CONFIG_SCREEN_LAYOUT - It was removed in a13, needed for light theme change in landscape. diff --git a/patches_platform/frameworks_base/0027-SystemUI-Follow-light-dark-theme-in-SplitShade-Heade.patch b/patches_platform/frameworks_base/0029-SystemUI-Follow-light-dark-theme-in-SplitShade-Heade.patch similarity index 98% rename from patches_platform/frameworks_base/0027-SystemUI-Follow-light-dark-theme-in-SplitShade-Heade.patch rename to patches_platform/frameworks_base/0029-SystemUI-Follow-light-dark-theme-in-SplitShade-Heade.patch index c919b6cd..0a225fb7 100644 --- a/patches_platform/frameworks_base/0027-SystemUI-Follow-light-dark-theme-in-SplitShade-Heade.patch +++ b/patches_platform/frameworks_base/0029-SystemUI-Follow-light-dark-theme-in-SplitShade-Heade.patch @@ -1,7 +1,7 @@ -From 7d6f38a5a465aae5e1912b689ba42960580e1ca0 Mon Sep 17 00:00:00 2001 +From 61ed18ccaf6b1452a8010c8d71b64da0699c5861 Mon Sep 17 00:00:00 2001 From: ReallySnow Date: Thu, 15 Sep 2022 13:38:48 +0800 -Subject: [PATCH 27/43] SystemUI: Follow light/dark theme in SplitShade Header +Subject: [PATCH 29/45] SystemUI: Follow light/dark theme in SplitShade Header * Google's default implementation is dark, which means it doesn't need to follow the light/dark color change, diff --git a/patches_platform/frameworks_base/0028-SystemUI-Use-transparent-background-for-QS-footer.patch b/patches_platform/frameworks_base/0030-SystemUI-Use-transparent-background-for-QS-footer.patch similarity index 94% rename from patches_platform/frameworks_base/0028-SystemUI-Use-transparent-background-for-QS-footer.patch rename to patches_platform/frameworks_base/0030-SystemUI-Use-transparent-background-for-QS-footer.patch index c794c301..a0d7c3ca 100644 --- a/patches_platform/frameworks_base/0028-SystemUI-Use-transparent-background-for-QS-footer.patch +++ b/patches_platform/frameworks_base/0030-SystemUI-Use-transparent-background-for-QS-footer.patch @@ -1,7 +1,7 @@ -From 8b2d57bd39bb54c8706329a856e52fd0ecc6f3db Mon Sep 17 00:00:00 2001 +From febd76b2a15a173e7a020d987374bec9908194f1 Mon Sep 17 00:00:00 2001 From: Pranav Vashi Date: Wed, 17 Apr 2024 17:35:11 +0530 -Subject: [PATCH 28/43] SystemUI: Use transparent background for QS footer +Subject: [PATCH 30/45] SystemUI: Use transparent background for QS footer Signed-off-by: Pranav Vashi --- diff --git a/patches_platform/frameworks_base/0029-SystemUI-monet-Remove-unused-colorSchemeIsApplied.patch b/patches_platform/frameworks_base/0031-SystemUI-monet-Remove-unused-colorSchemeIsApplied.patch similarity index 96% rename from patches_platform/frameworks_base/0029-SystemUI-monet-Remove-unused-colorSchemeIsApplied.patch rename to patches_platform/frameworks_base/0031-SystemUI-monet-Remove-unused-colorSchemeIsApplied.patch index e6020d2b..e2913e2f 100644 --- a/patches_platform/frameworks_base/0029-SystemUI-monet-Remove-unused-colorSchemeIsApplied.patch +++ b/patches_platform/frameworks_base/0031-SystemUI-monet-Remove-unused-colorSchemeIsApplied.patch @@ -1,7 +1,7 @@ -From 79f9b7b31a650bc9586a20ef032bed6f89f83810 Mon Sep 17 00:00:00 2001 +From 866681350d2dbcb5370b5dbfd23cd7fd07342af5 Mon Sep 17 00:00:00 2001 From: Pranav Vashi Date: Tue, 16 Apr 2024 21:32:43 +0530 -Subject: [PATCH 29/43] SystemUI: monet: Remove unused colorSchemeIsApplied +Subject: [PATCH 31/45] SystemUI: monet: Remove unused colorSchemeIsApplied Usage for this was removed in https://github.com/crdroidandroid/android_frameworks_base/commit/e09dc531860bbe4e9c21e57a7eb59351078e1e4f diff --git a/patches_platform/frameworks_base/0030-SystemUI-Follow-Dark-Light-theme-for-Safe-Mode-dialo.patch b/patches_platform/frameworks_base/0032-SystemUI-Follow-Dark-Light-theme-for-Safe-Mode-dialo.patch similarity index 94% rename from patches_platform/frameworks_base/0030-SystemUI-Follow-Dark-Light-theme-for-Safe-Mode-dialo.patch rename to patches_platform/frameworks_base/0032-SystemUI-Follow-Dark-Light-theme-for-Safe-Mode-dialo.patch index 5c40e8e8..a26eadcf 100644 --- a/patches_platform/frameworks_base/0030-SystemUI-Follow-Dark-Light-theme-for-Safe-Mode-dialo.patch +++ b/patches_platform/frameworks_base/0032-SystemUI-Follow-Dark-Light-theme-for-Safe-Mode-dialo.patch @@ -1,7 +1,7 @@ -From be6c596038f9a1168a174e20f68ff7dfe6e8a409 Mon Sep 17 00:00:00 2001 +From 8ac3e14870d86600b82b0e817697faf3db24a0c5 Mon Sep 17 00:00:00 2001 From: Pulkit077 Date: Fri, 16 Sep 2022 14:46:37 +0530 -Subject: [PATCH 30/43] SystemUI: Follow Dark/Light theme for Safe Mode dialog +Subject: [PATCH 32/45] SystemUI: Follow Dark/Light theme for Safe Mode dialog Change-Id: Ia9864a45551e969abaccd351e8b6d65e21d99165 Signed-off-by: Pulkit077 diff --git a/patches_platform/frameworks_base/0031-SystemUI-Follow-light-dark-theme-in-power-menu.patch b/patches_platform/frameworks_base/0033-SystemUI-Follow-light-dark-theme-in-power-menu.patch similarity index 96% rename from patches_platform/frameworks_base/0031-SystemUI-Follow-light-dark-theme-in-power-menu.patch rename to patches_platform/frameworks_base/0033-SystemUI-Follow-light-dark-theme-in-power-menu.patch index e27b0ee4..939cd0a4 100644 --- a/patches_platform/frameworks_base/0031-SystemUI-Follow-light-dark-theme-in-power-menu.patch +++ b/patches_platform/frameworks_base/0033-SystemUI-Follow-light-dark-theme-in-power-menu.patch @@ -1,7 +1,7 @@ -From e8cea9d915c82a481987aea72f33be9a8cdca6f1 Mon Sep 17 00:00:00 2001 +From 9883a29bc0ab551e78ab82a63bf65d3a869323aa Mon Sep 17 00:00:00 2001 From: Danny Lin Date: Tue, 8 Mar 2022 20:37:33 -0800 -Subject: [PATCH 31/43] SystemUI: Follow light/dark theme in power menu +Subject: [PATCH 33/45] SystemUI: Follow light/dark theme in power menu Now that we've modified the power menu to refresh on UI mode changes, make it follow the system light/dark theme for better integration in diff --git a/patches_platform/frameworks_base/0032-SystemUI-Re-evaluate-system-theme-on-UI-mode-change.patch b/patches_platform/frameworks_base/0034-SystemUI-Re-evaluate-system-theme-on-UI-mode-change.patch similarity index 96% rename from patches_platform/frameworks_base/0032-SystemUI-Re-evaluate-system-theme-on-UI-mode-change.patch rename to patches_platform/frameworks_base/0034-SystemUI-Re-evaluate-system-theme-on-UI-mode-change.patch index 4e694639..7b5e0296 100644 --- a/patches_platform/frameworks_base/0032-SystemUI-Re-evaluate-system-theme-on-UI-mode-change.patch +++ b/patches_platform/frameworks_base/0034-SystemUI-Re-evaluate-system-theme-on-UI-mode-change.patch @@ -1,7 +1,7 @@ -From 3aa6aa1e16a385a3cef393fb58d4a319ca884632 Mon Sep 17 00:00:00 2001 +From c850241052cd0163d8c70daf06dbbbad846cf9e8 Mon Sep 17 00:00:00 2001 From: althafvly Date: Tue, 26 May 2020 21:17:59 +0800 -Subject: [PATCH 32/43] SystemUI: Re-evaluate system theme on UI mode change +Subject: [PATCH 34/45] SystemUI: Re-evaluate system theme on UI mode change - Need for power menu to set accurate colors diff --git a/patches_platform/frameworks_base/0033-SystemUI-Fix-QS-header-clock-color.patch b/patches_platform/frameworks_base/0035-SystemUI-Fix-QS-header-clock-color.patch similarity index 94% rename from patches_platform/frameworks_base/0033-SystemUI-Fix-QS-header-clock-color.patch rename to patches_platform/frameworks_base/0035-SystemUI-Fix-QS-header-clock-color.patch index f6ee8e21..1c4ae375 100644 --- a/patches_platform/frameworks_base/0033-SystemUI-Fix-QS-header-clock-color.patch +++ b/patches_platform/frameworks_base/0035-SystemUI-Fix-QS-header-clock-color.patch @@ -1,7 +1,7 @@ -From 1a69a297d72035abc82ec534448eb1dda2cc6042 Mon Sep 17 00:00:00 2001 +From a461184ae8c96495bb9e85152d2884c2637b3e97 Mon Sep 17 00:00:00 2001 From: Danny Baumann Date: Wed, 20 Jul 2022 15:53:13 +0200 -Subject: [PATCH 33/43] SystemUI: Fix QS header clock color +Subject: [PATCH 35/45] SystemUI: Fix QS header clock color Now that we're flipping QS colors by theme (dark/light), we can no longer rely on wallpaper colors for QS clock. Instead, we now can rely on clock color diff --git a/patches_platform/frameworks_base/0034-SystemUI-Calculate-paged-QS-tiles-height-properly.patch b/patches_platform/frameworks_base/0036-SystemUI-Calculate-paged-QS-tiles-height-properly.patch similarity index 93% rename from patches_platform/frameworks_base/0034-SystemUI-Calculate-paged-QS-tiles-height-properly.patch rename to patches_platform/frameworks_base/0036-SystemUI-Calculate-paged-QS-tiles-height-properly.patch index fef4bfd8..c2cd97c9 100644 --- a/patches_platform/frameworks_base/0034-SystemUI-Calculate-paged-QS-tiles-height-properly.patch +++ b/patches_platform/frameworks_base/0036-SystemUI-Calculate-paged-QS-tiles-height-properly.patch @@ -1,7 +1,7 @@ -From 25940ffbfecb8b9eed4d9d461b11ea4af3b96e41 Mon Sep 17 00:00:00 2001 +From 8dd24d98840fa587be1552a3bc21c005f1665794 Mon Sep 17 00:00:00 2001 From: Adithya R Date: Mon, 30 May 2022 00:13:02 +0530 -Subject: [PATCH 34/43] SystemUI: Calculate paged QS tiles height properly +Subject: [PATCH 36/45] SystemUI: Calculate paged QS tiles height properly When QS is re-inflated during UI mode change and we're on the 3rd or higher QS page, the first QS page is misaligned and diff --git a/patches_platform/frameworks_base/0035-SystemUI-Remove-visibility-check-in-setting-QSCarrie.patch b/patches_platform/frameworks_base/0037-SystemUI-Remove-visibility-check-in-setting-QSCarrie.patch similarity index 92% rename from patches_platform/frameworks_base/0035-SystemUI-Remove-visibility-check-in-setting-QSCarrie.patch rename to patches_platform/frameworks_base/0037-SystemUI-Remove-visibility-check-in-setting-QSCarrie.patch index a603806d..ec1a5394 100644 --- a/patches_platform/frameworks_base/0035-SystemUI-Remove-visibility-check-in-setting-QSCarrie.patch +++ b/patches_platform/frameworks_base/0037-SystemUI-Remove-visibility-check-in-setting-QSCarrie.patch @@ -1,7 +1,7 @@ -From be8be7e3949c88489a4cf6af11326dcb5bac2d96 Mon Sep 17 00:00:00 2001 +From 1b3b5d505912f8b0a13a4743effe429dd96639b6 Mon Sep 17 00:00:00 2001 From: Adithya R Date: Thu, 19 Jan 2023 14:37:43 +0530 -Subject: [PATCH 35/43] SystemUI: Remove visibility check in setting QSCarrier +Subject: [PATCH 37/45] SystemUI: Remove visibility check in setting QSCarrier color This fixes a corner case where the signal icon color is incorrect: diff --git a/patches_platform/frameworks_base/0036-SystemUI-Fix-QS-tile-dialog-background-color.patch b/patches_platform/frameworks_base/0038-SystemUI-Fix-QS-tile-dialog-background-color.patch similarity index 91% rename from patches_platform/frameworks_base/0036-SystemUI-Fix-QS-tile-dialog-background-color.patch rename to patches_platform/frameworks_base/0038-SystemUI-Fix-QS-tile-dialog-background-color.patch index 2ea45485..44a41a19 100644 --- a/patches_platform/frameworks_base/0036-SystemUI-Fix-QS-tile-dialog-background-color.patch +++ b/patches_platform/frameworks_base/0038-SystemUI-Fix-QS-tile-dialog-background-color.patch @@ -1,7 +1,7 @@ -From 0529a4ad0958c1a82739bcfbf7b19604c3cea4ed Mon Sep 17 00:00:00 2001 +From 0ac9a0130bce07cbda6f585731f7560e778b933f Mon Sep 17 00:00:00 2001 From: Pranav Vashi Date: Mon, 4 Mar 2024 01:11:13 +0530 -Subject: [PATCH 36/43] SystemUI: Fix QS tile dialog background color +Subject: [PATCH 38/45] SystemUI: Fix QS tile dialog background color Fixes: https://github.com/crdroidandroid/issue_tracker/issues/309 Signed-off-by: Pranav Vashi diff --git a/patches_platform/frameworks_base/0037-SystemUI-Use-proper-Resolver-background-color.patch b/patches_platform/frameworks_base/0039-SystemUI-Use-proper-Resolver-background-color.patch similarity index 88% rename from patches_platform/frameworks_base/0037-SystemUI-Use-proper-Resolver-background-color.patch rename to patches_platform/frameworks_base/0039-SystemUI-Use-proper-Resolver-background-color.patch index 51aa387b..de5b0c4d 100644 --- a/patches_platform/frameworks_base/0037-SystemUI-Use-proper-Resolver-background-color.patch +++ b/patches_platform/frameworks_base/0039-SystemUI-Use-proper-Resolver-background-color.patch @@ -1,7 +1,7 @@ -From 20bdd1f747da317d1e277f333f19d6a7a126f7fc Mon Sep 17 00:00:00 2001 +From 5b3ac246627eed4b21368fb4c38a9565b350ec3f Mon Sep 17 00:00:00 2001 From: elluzion Date: Mon, 7 Dec 2020 20:39:40 +0100 -Subject: [PATCH 37/43] SystemUI: Use proper Resolver background color +Subject: [PATCH 39/45] SystemUI: Use proper Resolver background color Signed-off-by: Pranav Vashi --- diff --git a/patches_platform/frameworks_base/0038-SystemUI-Follow-monet-theme-on-privacy-indicators.patch b/patches_platform/frameworks_base/0040-SystemUI-Follow-monet-theme-on-privacy-indicators.patch similarity index 94% rename from patches_platform/frameworks_base/0038-SystemUI-Follow-monet-theme-on-privacy-indicators.patch rename to patches_platform/frameworks_base/0040-SystemUI-Follow-monet-theme-on-privacy-indicators.patch index f3b05cf2..563a48e8 100644 --- a/patches_platform/frameworks_base/0038-SystemUI-Follow-monet-theme-on-privacy-indicators.patch +++ b/patches_platform/frameworks_base/0040-SystemUI-Follow-monet-theme-on-privacy-indicators.patch @@ -1,7 +1,7 @@ -From bdbd29ab6b1fb3db6084247eceabd95ec35993c6 Mon Sep 17 00:00:00 2001 +From c7043cc547ee078673e72e4c36caa1e1d96f3a4f Mon Sep 17 00:00:00 2001 From: minaripenguin Date: Fri, 24 Mar 2023 13:04:06 +0800 -Subject: [PATCH 38/43] SystemUI: Follow monet theme on privacy indicators +Subject: [PATCH 40/45] SystemUI: Follow monet theme on privacy indicators Change-Id: Ib713cb3283fcf3a49086c5da8360d2a1b6cd6704 Signed-off-by: minaripenguin diff --git a/patches_platform/frameworks_base/0039-SystemUI-Follow-monet-theme-on-battery-chip.patch b/patches_platform/frameworks_base/0041-SystemUI-Follow-monet-theme-on-battery-chip.patch similarity index 95% rename from patches_platform/frameworks_base/0039-SystemUI-Follow-monet-theme-on-battery-chip.patch rename to patches_platform/frameworks_base/0041-SystemUI-Follow-monet-theme-on-battery-chip.patch index 7a6c9c32..be49d2fd 100644 --- a/patches_platform/frameworks_base/0039-SystemUI-Follow-monet-theme-on-battery-chip.patch +++ b/patches_platform/frameworks_base/0041-SystemUI-Follow-monet-theme-on-battery-chip.patch @@ -1,7 +1,7 @@ -From 9b624db6528d95a77ea550b011af435ca4425571 Mon Sep 17 00:00:00 2001 +From 37f6236572232a1bfd0e2d9829ed706ae87cdb09 Mon Sep 17 00:00:00 2001 From: Andy CrossGate Yan Date: Wed, 10 Jan 2024 23:36:41 +0800 -Subject: [PATCH 39/43] SystemUI: Follow monet theme on battery chip +Subject: [PATCH 41/45] SystemUI: Follow monet theme on battery chip Why does this chip even exist... diff --git a/patches_platform/frameworks_base/0040-ThemeOverlayController-Remove-repeated-monet-check.patch b/patches_platform/frameworks_base/0042-ThemeOverlayController-Remove-repeated-monet-check.patch similarity index 89% rename from patches_platform/frameworks_base/0040-ThemeOverlayController-Remove-repeated-monet-check.patch rename to patches_platform/frameworks_base/0042-ThemeOverlayController-Remove-repeated-monet-check.patch index 9fbf9750..6314e5a6 100644 --- a/patches_platform/frameworks_base/0040-ThemeOverlayController-Remove-repeated-monet-check.patch +++ b/patches_platform/frameworks_base/0042-ThemeOverlayController-Remove-repeated-monet-check.patch @@ -1,7 +1,7 @@ -From 2f4e9b7a4cc9c22ba9586fe855c31f99cc47abbf Mon Sep 17 00:00:00 2001 +From 3b703fe6337569aac8fd4e917393261999ca7d14 Mon Sep 17 00:00:00 2001 From: Pranav Vashi Date: Sat, 17 Sep 2022 12:20:38 +0530 -Subject: [PATCH 40/43] ThemeOverlayController: Remove repeated monet check +Subject: [PATCH 42/45] ThemeOverlayController: Remove repeated monet check Change-Id: I6608df48c1a89a87eaf08d9f267e0a83e9bbd3d1 Signed-off-by: Pranav Vashi diff --git a/patches_platform/frameworks_base/0041-SystemUI-Use-color-accent-for-charging-animation.patch b/patches_platform/frameworks_base/0043-SystemUI-Use-color-accent-for-charging-animation.patch similarity index 94% rename from patches_platform/frameworks_base/0041-SystemUI-Use-color-accent-for-charging-animation.patch rename to patches_platform/frameworks_base/0043-SystemUI-Use-color-accent-for-charging-animation.patch index 9423d632..c1b6b31d 100644 --- a/patches_platform/frameworks_base/0041-SystemUI-Use-color-accent-for-charging-animation.patch +++ b/patches_platform/frameworks_base/0043-SystemUI-Use-color-accent-for-charging-animation.patch @@ -1,7 +1,7 @@ -From a1462dcc2242256bde5e69c60306726c25e7281c Mon Sep 17 00:00:00 2001 +From d0e1bfd631894b015730c6d6e0eb94dcbbbd8ee9 Mon Sep 17 00:00:00 2001 From: Genkzsz11 Date: Sat, 16 Apr 2022 00:18:51 +0700 -Subject: [PATCH 41/43] SystemUI: Use color accent for charging animation +Subject: [PATCH 43/45] SystemUI: Use color accent for charging animation Change-Id: Ideade5e9375510a31496ad75c5b74f12444350c9 Signed-off-by: Omkar Chandorkar diff --git a/patches_platform/frameworks_base/0042-colors_device_defaults-Add-chroma-to-light-surface-h.patch b/patches_platform/frameworks_base/0044-colors_device_defaults-Add-chroma-to-light-surface-h.patch similarity index 91% rename from patches_platform/frameworks_base/0042-colors_device_defaults-Add-chroma-to-light-surface-h.patch rename to patches_platform/frameworks_base/0044-colors_device_defaults-Add-chroma-to-light-surface-h.patch index eaf1b731..b35dfcac 100644 --- a/patches_platform/frameworks_base/0042-colors_device_defaults-Add-chroma-to-light-surface-h.patch +++ b/patches_platform/frameworks_base/0044-colors_device_defaults-Add-chroma-to-light-surface-h.patch @@ -1,7 +1,7 @@ -From af3769a81e043d84bf044dd5cbbd7fbd49627b86 Mon Sep 17 00:00:00 2001 +From 0ba37f07c78da8a08afe59b68f35ea7c009d6e2a Mon Sep 17 00:00:00 2001 From: Danny Lin Date: Thu, 13 Oct 2022 15:07:22 +0800 -Subject: [PATCH 42/43] colors_device_defaults: Add chroma to light surface +Subject: [PATCH 44/45] colors_device_defaults: Add chroma to light surface highlight color With dynamic Monet themes, most of the UI has at least a small amount diff --git a/patches_platform/frameworks_base/0043-config_progress_background_tint-Use-accent-color-for.patch b/patches_platform/frameworks_base/0045-config_progress_background_tint-Use-accent-color-for.patch similarity index 88% rename from patches_platform/frameworks_base/0043-config_progress_background_tint-Use-accent-color-for.patch rename to patches_platform/frameworks_base/0045-config_progress_background_tint-Use-accent-color-for.patch index 18bf6bcf..be7e2657 100644 --- a/patches_platform/frameworks_base/0043-config_progress_background_tint-Use-accent-color-for.patch +++ b/patches_platform/frameworks_base/0045-config_progress_background_tint-Use-accent-color-for.patch @@ -1,7 +1,7 @@ -From e3fcd9c40a3d0fa641bc1e90892bd5a54ecde7e6 Mon Sep 17 00:00:00 2001 +From dd24b8192a96c950be3c7decd862a3ab708d612a Mon Sep 17 00:00:00 2001 From: Danny Lin Date: Thu, 13 Oct 2022 15:07:59 +0800 -Subject: [PATCH 43/43] config_progress_background_tint: Use accent color for +Subject: [PATCH 45/45] config_progress_background_tint: Use accent color for progress bar background This matches the stock Pixel style and makes progress bars look more diff --git a/patches_treble/device_phh_treble/0001-treble-Lineage-ify.patch b/patches_treble/device_phh_treble/0001-treble-Lineage-ify.patch index ae5ec2e7..3ad439ac 100644 --- a/patches_treble/device_phh_treble/0001-treble-Lineage-ify.patch +++ b/patches_treble/device_phh_treble/0001-treble-Lineage-ify.patch @@ -1,7 +1,7 @@ -From 7b512450f9a8b4d65bda3daccd5d76b6d86722d3 Mon Sep 17 00:00:00 2001 +From 1881f0bcf1377cd0fae041a766a4af91bdddc87b Mon Sep 17 00:00:00 2001 From: Andy CrossGate Yan Date: Sun, 8 Aug 2021 01:43:40 +0000 -Subject: [PATCH 1/7] treble: Lineage-ify +Subject: [PATCH 1/8] treble: Lineage-ify Squash of: - Proper target names diff --git a/patches_treble/device_phh_treble/0002-treble-Set-BOARD_EXT4_SHARE_DUP_BLOCKS-explicitly.patch b/patches_treble/device_phh_treble/0002-treble-Set-BOARD_EXT4_SHARE_DUP_BLOCKS-explicitly.patch index da93e2ae..f5f8bdab 100644 --- a/patches_treble/device_phh_treble/0002-treble-Set-BOARD_EXT4_SHARE_DUP_BLOCKS-explicitly.patch +++ b/patches_treble/device_phh_treble/0002-treble-Set-BOARD_EXT4_SHARE_DUP_BLOCKS-explicitly.patch @@ -1,7 +1,7 @@ -From ca0a29e2a10704398ef98db53ea472c70e6d2df5 Mon Sep 17 00:00:00 2001 +From 3cb1af50e149575368476b1eebeab6429d9f73fa Mon Sep 17 00:00:00 2001 From: Andy CrossGate Yan Date: Sun, 8 Aug 2021 09:29:32 +0000 -Subject: [PATCH 2/7] treble: Set BOARD_EXT4_SHARE_DUP_BLOCKS explicitly +Subject: [PATCH 2/8] treble: Set BOARD_EXT4_SHARE_DUP_BLOCKS explicitly Change-Id: I725443154fabde548d2e6c1b072d34c27596c421 --- diff --git a/patches_treble/device_phh_treble/0003-treble-Set-TARGET_NO_KERNEL_OVERRIDE.patch b/patches_treble/device_phh_treble/0003-treble-Set-TARGET_NO_KERNEL_OVERRIDE.patch index 08720ae6..c091a346 100644 --- a/patches_treble/device_phh_treble/0003-treble-Set-TARGET_NO_KERNEL_OVERRIDE.patch +++ b/patches_treble/device_phh_treble/0003-treble-Set-TARGET_NO_KERNEL_OVERRIDE.patch @@ -1,7 +1,7 @@ -From 8bfd515e29aa6998c95326afcd7b9212bc50e855 Mon Sep 17 00:00:00 2001 +From 9f6d5fbab8577170bbd589440fedcb3e7394b407 Mon Sep 17 00:00:00 2001 From: Andy CrossGate Yan Date: Wed, 20 Oct 2021 11:30:25 +0000 -Subject: [PATCH 3/7] treble: Set TARGET_NO_KERNEL_OVERRIDE +Subject: [PATCH 3/8] treble: Set TARGET_NO_KERNEL_OVERRIDE Taken from Lineage generic targets - skips building kernel cleanly diff --git a/patches_treble/device_phh_treble/0004-treble-Enable-call-recording.patch b/patches_treble/device_phh_treble/0004-treble-Enable-call-recording.patch index 84cc9eef..348f974f 100644 --- a/patches_treble/device_phh_treble/0004-treble-Enable-call-recording.patch +++ b/patches_treble/device_phh_treble/0004-treble-Enable-call-recording.patch @@ -1,7 +1,7 @@ -From 2171319d09fd6681683c2fbb8841ff00589e826c Mon Sep 17 00:00:00 2001 +From 4144af0ab1b86a57c5471d5959e371eef7d6e40a Mon Sep 17 00:00:00 2001 From: Andy CrossGate Yan Date: Tue, 11 Oct 2022 11:29:02 +0000 -Subject: [PATCH 4/7] treble: Enable call recording +Subject: [PATCH 4/8] treble: Enable call recording Change-Id: I57ca3604363547419a566b37b5151b6b30c46d28 --- diff --git a/patches_treble/device_phh_treble/0005-treble-Switch-to-MindTheGapps.patch b/patches_treble/device_phh_treble/0005-treble-Switch-to-MindTheGapps.patch index 533b269b..6e6783d5 100644 --- a/patches_treble/device_phh_treble/0005-treble-Switch-to-MindTheGapps.patch +++ b/patches_treble/device_phh_treble/0005-treble-Switch-to-MindTheGapps.patch @@ -1,7 +1,7 @@ -From 2f8779cb2631ddff20e81d56b4a1a7c0ec46fb19 Mon Sep 17 00:00:00 2001 +From c01aa0e1b2d01756073874e80bdaefcd7f60e115 Mon Sep 17 00:00:00 2001 From: Andy CrossGate Yan Date: Sat, 5 Nov 2022 23:49:11 +0000 -Subject: [PATCH 5/7] treble: Switch to MindTheGapps +Subject: [PATCH 5/8] treble: Switch to MindTheGapps Change-Id: I1b80d4c5176cbf4af21d147c71b0abce6027c7c7 --- diff --git a/patches_treble/device_phh_treble/0006-treble-Import-prebuilt-PHH-Superuser.patch b/patches_treble/device_phh_treble/0006-treble-Import-prebuilt-PHH-Superuser.patch index 781472ad..5d8f4bab 100644 --- a/patches_treble/device_phh_treble/0006-treble-Import-prebuilt-PHH-Superuser.patch +++ b/patches_treble/device_phh_treble/0006-treble-Import-prebuilt-PHH-Superuser.patch @@ -1,7 +1,7 @@ -From 4b55f0e5ab9d96991820576f9c15e47168ce829a Mon Sep 17 00:00:00 2001 +From 220d4b045c0c0c591e7ea2c714960495ef7e3bbd Mon Sep 17 00:00:00 2001 From: Andy CrossGate Yan Date: Sat, 15 Jul 2023 17:01:27 +0800 -Subject: [PATCH 6/7] treble: Import prebuilt PHH Superuser +Subject: [PATCH 6/8] treble: Import prebuilt PHH Superuser Change-Id: I9655d706ef3e1f32d0584a68384823db895e0283 --- diff --git a/patches_treble/device_phh_treble/0007-treble-Remove-Securize-1-2.patch b/patches_treble/device_phh_treble/0007-treble-Remove-Securize-1-2.patch index 1af28a7a..15672e48 100644 --- a/patches_treble/device_phh_treble/0007-treble-Remove-Securize-1-2.patch +++ b/patches_treble/device_phh_treble/0007-treble-Remove-Securize-1-2.patch @@ -1,7 +1,7 @@ -From 6049d780bfdddc2d11a0b3f1bca6b6de6a761ed5 Mon Sep 17 00:00:00 2001 +From 0e6f61d7987a5c3295aabad96b28efe87a1a1a0a Mon Sep 17 00:00:00 2001 From: Andy CrossGate Yan Date: Mon, 15 Jul 2024 22:30:54 +0800 -Subject: [PATCH 7/7] treble: Remove Securize (1/2) +Subject: [PATCH 7/8] treble: Remove Securize (1/2) Leave this Play Integrity mess to the professionals @@ -85,7 +85,7 @@ index 80b46d7..0000000 -touch /metadata/phh/secure -reboot diff --git a/rw-system.sh b/rw-system.sh -index 3ddfdda..7546fae 100644 +index 9a1eea5..9446a7d 100644 --- a/rw-system.sh +++ b/rw-system.sh @@ -779,65 +779,16 @@ copyprop() { diff --git a/patches_treble/device_phh_treble/0008-treble-Build-AOSP-hide-cutout-overlays.patch b/patches_treble/device_phh_treble/0008-treble-Build-AOSP-hide-cutout-overlays.patch new file mode 100644 index 00000000..ca596b68 --- /dev/null +++ b/patches_treble/device_phh_treble/0008-treble-Build-AOSP-hide-cutout-overlays.patch @@ -0,0 +1,29 @@ +From 6c41e0aa9735b66d4ff0f7c4e72f0319fef514d1 Mon Sep 17 00:00:00 2001 +From: Andy CrossGate Yan +Date: Tue, 17 Sep 2024 22:36:24 +0800 +Subject: [PATCH 8/8] treble: Build AOSP hide-cutout overlays + +Change-Id: If412636f9c11fa27314c2f5371185794d2613d89 +--- + base.mk | 7 +++++++ + 1 file changed, 7 insertions(+) + +diff --git a/base.mk b/base.mk +index dea8d2d..8f7b711 100644 +--- a/base.mk ++++ b/base.mk +@@ -267,4 +267,11 @@ $(call inherit-product, $(SRC_TARGET_DIR)/product/window_extensions.mk) + PRODUCT_PRODUCT_PROPERTIES += \ + persist.settings.large_screen_opt.enabled=true + ++# Hide display cutout ++PRODUCT_PRODUCT_PROPERTIES += \ ++ ro.support_hide_display_cutout=true ++PRODUCT_PACKAGES += \ ++ AvoidAppsInCutoutOverlay \ ++ NoCutoutOverlay ++ + PRODUCT_EXTRA_VNDK_VERSIONS += 28 29 +-- +2.34.1 + diff --git a/patches_treble_personal/device_phh_treble/0001-Add-Meizu-18-vibrator-support.patch b/patches_treble_personal/device_phh_treble/0001-Add-Meizu-18-vibrator-support.patch index ca71a649..d4fec34f 100644 --- a/patches_treble_personal/device_phh_treble/0001-Add-Meizu-18-vibrator-support.patch +++ b/patches_treble_personal/device_phh_treble/0001-Add-Meizu-18-vibrator-support.patch @@ -1,4 +1,4 @@ -From c237d550fffad14a20990d9ee072dbe44cb31768 Mon Sep 17 00:00:00 2001 +From 990ec21344db0e4da8ccaad5aa3e2512c7f9aaa2 Mon Sep 17 00:00:00 2001 From: Andy CrossGate Yan Date: Tue, 22 Jun 2021 13:38:31 +0000 Subject: [PATCH 1/3] Add Meizu 18 vibrator support @@ -28,12 +28,12 @@ Change-Id: Iecf12cd814e8773abfd78a19f98e31125a73761a create mode 100644 meizu-vibrator/service.cpp diff --git a/base.mk b/base.mk -index 7dce0a0..bb48831 100644 +index 8f7b711..6d6fb4e 100644 --- a/base.mk +++ b/base.mk -@@ -269,4 +269,8 @@ $(call inherit-product, $(SRC_TARGET_DIR)/product/window_extensions.mk) - PRODUCT_PRODUCT_PROPERTIES += \ - persist.settings.large_screen_opt.enabled=true +@@ -274,4 +274,8 @@ PRODUCT_PACKAGES += \ + AvoidAppsInCutoutOverlay \ + NoCutoutOverlay +# Meizu vibrator +PRODUCT_PACKAGES += \ diff --git a/patches_treble_personal/device_phh_treble/0002-Revert-Include-sim-toolkit-app.patch b/patches_treble_personal/device_phh_treble/0002-Revert-Include-sim-toolkit-app.patch index 36c67e3c..95ea0478 100644 --- a/patches_treble_personal/device_phh_treble/0002-Revert-Include-sim-toolkit-app.patch +++ b/patches_treble_personal/device_phh_treble/0002-Revert-Include-sim-toolkit-app.patch @@ -1,4 +1,4 @@ -From 5e0cf531dacb7a8c6d112917fd69d67c3d978909 Mon Sep 17 00:00:00 2001 +From 158dd7dad4e200be43fa7b46cc99ab98f460d80d Mon Sep 17 00:00:00 2001 From: Andy CrossGate Yan Date: Thu, 28 Oct 2021 01:51:27 +0000 Subject: [PATCH 2/3] Revert "Include sim toolkit app" @@ -11,10 +11,10 @@ Change-Id: I1eb7f4bb070eea649b4cea6280299e629d1edb3d 1 file changed, 3 deletions(-) diff --git a/base.mk b/base.mk -index bb48831..27f74f3 100644 +index 6d6fb4e..0c24c39 100644 --- a/base.mk +++ b/base.mk -@@ -172,9 +172,6 @@ PRODUCT_PACKAGES += \ +@@ -171,9 +171,6 @@ PRODUCT_PACKAGES += \ xiaomi-motor \ oneplus-motor diff --git a/patches_treble_personal/device_phh_treble/0003-Revert-treble-Set-BOARD_EXT4_SHARE_DUP_BLOCKS-explic.patch b/patches_treble_personal/device_phh_treble/0003-Revert-treble-Set-BOARD_EXT4_SHARE_DUP_BLOCKS-explic.patch index 84c92687..cb0a627d 100644 --- a/patches_treble_personal/device_phh_treble/0003-Revert-treble-Set-BOARD_EXT4_SHARE_DUP_BLOCKS-explic.patch +++ b/patches_treble_personal/device_phh_treble/0003-Revert-treble-Set-BOARD_EXT4_SHARE_DUP_BLOCKS-explic.patch @@ -1,4 +1,4 @@ -From 1332d9d8058ce117d1a3cf8880c13aa24556985b Mon Sep 17 00:00:00 2001 +From fdbd1f841eacb87fc0eeb1d42e547ed497c5b041 Mon Sep 17 00:00:00 2001 From: Andy CrossGate Yan Date: Sun, 8 Aug 2021 09:31:01 +0000 Subject: [PATCH 3/3] Revert "treble: Set BOARD_EXT4_SHARE_DUP_BLOCKS diff --git a/patches_treble_prerequisite/hardware_lineage_compat/0001-Revert-compat-Provide-libprotobuf-cpp-vendorcompat-p.patch b/patches_treble_prerequisite/hardware_lineage_compat/0001-Revert-compat-Provide-libprotobuf-cpp-vendorcompat-p.patch index fbd17775..577f4db5 100644 --- a/patches_treble_prerequisite/hardware_lineage_compat/0001-Revert-compat-Provide-libprotobuf-cpp-vendorcompat-p.patch +++ b/patches_treble_prerequisite/hardware_lineage_compat/0001-Revert-compat-Provide-libprotobuf-cpp-vendorcompat-p.patch @@ -1,10 +1,12 @@ -From f9ca27932587c1c3f3ae9b26908eb35540e30f33 Mon Sep 17 00:00:00 2001 +From 0ce0aa333e3d81a330a3d8f6976c3bf27522561f Mon Sep 17 00:00:00 2001 From: Andy CrossGate Yan Date: Mon, 20 Nov 2023 22:48:28 +0800 Subject: [PATCH] Revert "compat: Provide libprotobuf-cpp vendorcompat prebuilts from v29 VNDK" This reverts commit 770258c025fcd689895cac9d172a18609bf96d09. + +Change-Id: I4838d437a8fe1b7f898a2a4ecdc32df807a25938 --- Android.bp | 38 -------------------------- vndk/v29/arm/libprotobuf-cpp-full.so | 1 - @@ -18,14 +20,13 @@ This reverts commit 770258c025fcd689895cac9d172a18609bf96d09. delete mode 120000 vndk/v29/arm64/libprotobuf-cpp-lite.so diff --git a/Android.bp b/Android.bp -index f1fd0de..374fd33 100644 +index 564f0be..1bb7447 100644 --- a/Android.bp +++ b/Android.bp -@@ -429,41 +429,3 @@ cc_library_shared { - compile_multilib: "64", +@@ -471,44 +471,6 @@ cc_library_shared { vendor: true, } -- + -cc_prebuilt_library_shared { - name: "libprotobuf-cpp-full-vendorcompat", - stem: "libprotobuf-cpp-full", @@ -63,6 +64,10 @@ index f1fd0de..374fd33 100644 - compile_multilib: "both", - check_elf_files: false, -} +- + cc_prebuilt_library_shared { + name: "libstagefright_foundation-v33", + vendor: true, diff --git a/vndk/v29/arm/libprotobuf-cpp-full.so b/vndk/v29/arm/libprotobuf-cpp-full.so deleted file mode 120000 index 2c8c152..0000000 diff --git a/patches_treble_td/platform_frameworks_native/0001-On-Samsung-we-need-to-send-a-hack-message-to-HAL-to-.patch b/patches_treble_td/platform_frameworks_native/0001-On-Samsung-we-need-to-send-a-hack-message-to-HAL-to-.patch index 55e2a14c..cf9d13ec 100644 --- a/patches_treble_td/platform_frameworks_native/0001-On-Samsung-we-need-to-send-a-hack-message-to-HAL-to-.patch +++ b/patches_treble_td/platform_frameworks_native/0001-On-Samsung-we-need-to-send-a-hack-message-to-HAL-to-.patch @@ -1,4 +1,4 @@ -From f21648d7f9d7f8bd285e2f10e4ea83239a91ebd1 Mon Sep 17 00:00:00 2001 +From 5649017c4efa8fb6deb1c126a9140b81e927b332 Mon Sep 17 00:00:00 2001 From: Pierre-Hugues Husson Date: Wed, 14 Aug 2019 23:37:10 +0200 Subject: [PATCH 01/14] On Samsung, we need to send a hack-message to HAL to diff --git a/patches_treble_td/platform_frameworks_native/0002-Matching-an-input-with-a-display-uses-uniqueId.patch b/patches_treble_td/platform_frameworks_native/0002-Matching-an-input-with-a-display-uses-uniqueId.patch index 93b23070..6e64372e 100644 --- a/patches_treble_td/platform_frameworks_native/0002-Matching-an-input-with-a-display-uses-uniqueId.patch +++ b/patches_treble_td/platform_frameworks_native/0002-Matching-an-input-with-a-display-uses-uniqueId.patch @@ -1,4 +1,4 @@ -From 49c64795fd6ed6bb999dd7fa1d2bef59772a699e Mon Sep 17 00:00:00 2001 +From 5cb0e036ac1e5d16b689c73e2bc6d686556fd82f Mon Sep 17 00:00:00 2001 From: Pierre-Hugues Husson Date: Thu, 22 Oct 2020 23:22:46 +0200 Subject: [PATCH 02/14] Matching an input with a display uses uniqueId diff --git a/patches_treble_td/platform_frameworks_native/0003-unshared_oob-didn-t-exist-in-O-P-so-detect-its-suppo.patch b/patches_treble_td/platform_frameworks_native/0003-unshared_oob-didn-t-exist-in-O-P-so-detect-its-suppo.patch index 3e362aec..5f8f7491 100644 --- a/patches_treble_td/platform_frameworks_native/0003-unshared_oob-didn-t-exist-in-O-P-so-detect-its-suppo.patch +++ b/patches_treble_td/platform_frameworks_native/0003-unshared_oob-didn-t-exist-in-O-P-so-detect-its-suppo.patch @@ -1,4 +1,4 @@ -From a95435b4a32eb15a215190776e523b2b38853268 Mon Sep 17 00:00:00 2001 +From 440ebaec7ea6e19db1340038cffae86c8d4f1df5 Mon Sep 17 00:00:00 2001 From: Pierre-Hugues Husson Date: Tue, 5 Jan 2021 23:44:00 +0100 Subject: [PATCH 03/14] unshared_oob didn't exist in O/P, so detect its diff --git a/patches_treble_td/platform_frameworks_native/0004-Remove-Samsung-system-permission-on-sensors.patch b/patches_treble_td/platform_frameworks_native/0004-Remove-Samsung-system-permission-on-sensors.patch index 13f2fead..76049878 100644 --- a/patches_treble_td/platform_frameworks_native/0004-Remove-Samsung-system-permission-on-sensors.patch +++ b/patches_treble_td/platform_frameworks_native/0004-Remove-Samsung-system-permission-on-sensors.patch @@ -1,4 +1,4 @@ -From 343dc4b55f61d9293ca97cf08c107b8db9addd8d Mon Sep 17 00:00:00 2001 +From 78bc340f37d037df7523356ff65eb9a37d804e27 Mon Sep 17 00:00:00 2001 From: Pierre-Hugues Husson Date: Wed, 31 Mar 2021 23:36:03 +0200 Subject: [PATCH 04/14] Remove Samsung system permission on sensors diff --git a/patches_treble_td/platform_frameworks_native/0005-Mark-accelerometer-input-as-sensor-exclusively-if-th.patch b/patches_treble_td/platform_frameworks_native/0005-Mark-accelerometer-input-as-sensor-exclusively-if-th.patch index afa3edba..97210ef1 100644 --- a/patches_treble_td/platform_frameworks_native/0005-Mark-accelerometer-input-as-sensor-exclusively-if-th.patch +++ b/patches_treble_td/platform_frameworks_native/0005-Mark-accelerometer-input-as-sensor-exclusively-if-th.patch @@ -1,4 +1,4 @@ -From 216dbe5b391fd3be29076500ed234c8b8b29a96c Mon Sep 17 00:00:00 2001 +From f247c7838949c0a76fff0529b1f192508d106976 Mon Sep 17 00:00:00 2001 From: Pierre-Hugues Husson Date: Sun, 12 Dec 2021 08:45:36 -0500 Subject: [PATCH 05/14] Mark accelerometer input as sensor exclusively if there diff --git a/patches_treble_td/platform_frameworks_native/0006-MIUI13-devices-hide-their-vibrator-HAL-behind-non-de.patch b/patches_treble_td/platform_frameworks_native/0006-MIUI13-devices-hide-their-vibrator-HAL-behind-non-de.patch index bbce6ce1..5c53383a 100644 --- a/patches_treble_td/platform_frameworks_native/0006-MIUI13-devices-hide-their-vibrator-HAL-behind-non-de.patch +++ b/patches_treble_td/platform_frameworks_native/0006-MIUI13-devices-hide-their-vibrator-HAL-behind-non-de.patch @@ -1,4 +1,4 @@ -From 5d9caccaa3112e242584390c32c4b3ed3815e120 Mon Sep 17 00:00:00 2001 +From 4e62a09f00bcc2af4337ec0fdcf41fc14d2def42 Mon Sep 17 00:00:00 2001 From: Pierre-Hugues Husson Date: Fri, 25 Mar 2022 05:37:56 -0400 Subject: [PATCH 06/14] MIUI13 devices hide their vibrator HAL behind diff --git a/patches_treble_td/platform_frameworks_native/0007-powermanager-Add-support-Samsung-miscpower-HAL.patch b/patches_treble_td/platform_frameworks_native/0007-powermanager-Add-support-Samsung-miscpower-HAL.patch index 0dfd51c1..532a4b59 100644 --- a/patches_treble_td/platform_frameworks_native/0007-powermanager-Add-support-Samsung-miscpower-HAL.patch +++ b/patches_treble_td/platform_frameworks_native/0007-powermanager-Add-support-Samsung-miscpower-HAL.patch @@ -1,4 +1,4 @@ -From 0015aefea9c66379e2fff523ccec5f2d975d38bf Mon Sep 17 00:00:00 2001 +From 49362f3ea5d1a758088d1db0d2652ab4e48816a7 Mon Sep 17 00:00:00 2001 From: Pierre-Hugues Husson Date: Mon, 27 Dec 2021 18:00:43 -0500 Subject: [PATCH 07/14] powermanager: Add support Samsung miscpower HAL diff --git a/patches_treble_td/platform_frameworks_native/0008-FOD-support-for-Samsung-and-Asus.patch b/patches_treble_td/platform_frameworks_native/0008-FOD-support-for-Samsung-and-Asus.patch index 962a453e..3812d7ea 100644 --- a/patches_treble_td/platform_frameworks_native/0008-FOD-support-for-Samsung-and-Asus.patch +++ b/patches_treble_td/platform_frameworks_native/0008-FOD-support-for-Samsung-and-Asus.patch @@ -1,4 +1,4 @@ -From d4541c403974f42490567279ba8b06326243025b Mon Sep 17 00:00:00 2001 +From 7a819cdd675c3c636cf39c26371cd9f6d2071f50 Mon Sep 17 00:00:00 2001 From: Pierre-Hugues Husson Date: Sun, 18 Dec 2022 18:17:30 -0500 Subject: [PATCH 08/14] FOD support for Samsung and Asus diff --git a/patches_treble_td/platform_frameworks_native/0009-Add-MTK-GED-KPI-support-to-fix-broken-Mediatek-gpufr.patch b/patches_treble_td/platform_frameworks_native/0009-Add-MTK-GED-KPI-support-to-fix-broken-Mediatek-gpufr.patch index 6dafe492..c524b158 100644 --- a/patches_treble_td/platform_frameworks_native/0009-Add-MTK-GED-KPI-support-to-fix-broken-Mediatek-gpufr.patch +++ b/patches_treble_td/platform_frameworks_native/0009-Add-MTK-GED-KPI-support-to-fix-broken-Mediatek-gpufr.patch @@ -1,4 +1,4 @@ -From 2b03879f4be8e8e49f42ddb581978c405296f794 Mon Sep 17 00:00:00 2001 +From 657d70447442ce6fe3e8ee94f333f06e578c85cb Mon Sep 17 00:00:00 2001 From: Pierre-Hugues Husson Date: Sat, 25 Nov 2023 08:15:28 -0500 Subject: [PATCH 09/14] Add MTK GED KPI support to fix broken Mediatek gpufreq diff --git a/patches_treble_td/platform_frameworks_native/0010-Fix-loading-unnamed-GLES.patch b/patches_treble_td/platform_frameworks_native/0010-Fix-loading-unnamed-GLES.patch index 8bf88040..80f7ddfc 100644 --- a/patches_treble_td/platform_frameworks_native/0010-Fix-loading-unnamed-GLES.patch +++ b/patches_treble_td/platform_frameworks_native/0010-Fix-loading-unnamed-GLES.patch @@ -1,4 +1,4 @@ -From be049189a06ab62e23f934695a07d841799865bb Mon Sep 17 00:00:00 2001 +From dac5b999af51982c859bc6e50c83ada31b4426dd Mon Sep 17 00:00:00 2001 From: Pierre-Hugues Husson Date: Wed, 20 Dec 2023 09:48:04 -0500 Subject: [PATCH 10/14] Fix loading unnamed GLES diff --git a/patches_treble_td/platform_frameworks_native/0011-Increase-SW_MAX-4.patch b/patches_treble_td/platform_frameworks_native/0011-Increase-SW_MAX-4.patch index e5b4863f..859c616a 100644 --- a/patches_treble_td/platform_frameworks_native/0011-Increase-SW_MAX-4.patch +++ b/patches_treble_td/platform_frameworks_native/0011-Increase-SW_MAX-4.patch @@ -1,4 +1,4 @@ -From 54f544b10d1dedbd90ea3693f9aac5956c43031b Mon Sep 17 00:00:00 2001 +From 29b5511bfd961367cbde96a9d769520cf0fb0c44 Mon Sep 17 00:00:00 2001 From: Pierre-Hugues Husson Date: Sat, 3 Feb 2024 07:38:33 -0500 Subject: [PATCH 11/14] Increase SW_MAX *= 4 diff --git a/patches_treble_td/platform_frameworks_native/0012-Disable-gpuservice-on-old-BPF-less-kernel.patch b/patches_treble_td/platform_frameworks_native/0012-Disable-gpuservice-on-old-BPF-less-kernel.patch index a5ea323c..2fefedcb 100644 --- a/patches_treble_td/platform_frameworks_native/0012-Disable-gpuservice-on-old-BPF-less-kernel.patch +++ b/patches_treble_td/platform_frameworks_native/0012-Disable-gpuservice-on-old-BPF-less-kernel.patch @@ -1,4 +1,4 @@ -From da364e6475c9a27f26cd476f9db917de519ec3c2 Mon Sep 17 00:00:00 2001 +From d498c16ed3cac1f60c393c1eb31ec38b7c8eeb44 Mon Sep 17 00:00:00 2001 From: Pierre-Hugues Husson Date: Tue, 7 May 2024 22:34:40 +0000 Subject: [PATCH 12/14] Disable gpuservice on old BPF-less kernel diff --git a/patches_treble_td/platform_frameworks_native/0013-SurfaceFlinger-Disable-SF-HWC-backpressure.patch b/patches_treble_td/platform_frameworks_native/0013-SurfaceFlinger-Disable-SF-HWC-backpressure.patch index 9e4751a1..7ef3b46d 100644 --- a/patches_treble_td/platform_frameworks_native/0013-SurfaceFlinger-Disable-SF-HWC-backpressure.patch +++ b/patches_treble_td/platform_frameworks_native/0013-SurfaceFlinger-Disable-SF-HWC-backpressure.patch @@ -1,4 +1,4 @@ -From 46207028bf68e7c0757d6d7bc50cd9bd8a362b86 Mon Sep 17 00:00:00 2001 +From 72e92276abc91d2fdd98ff49cc26b3711887611e Mon Sep 17 00:00:00 2001 From: Andy CrossGate Yan Date: Sun, 26 May 2024 21:34:17 +0800 Subject: [PATCH 13/14] SurfaceFlinger: Disable SF HWC backpressure @@ -8,7 +8,7 @@ Subject: [PATCH 13/14] SurfaceFlinger: Disable SF HWC backpressure 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/services/surfaceflinger/SurfaceFlinger.cpp b/services/surfaceflinger/SurfaceFlinger.cpp -index 95829c7bd6..ae149b3ab7 100644 +index 7a75fca632..5888bc4352 100644 --- a/services/surfaceflinger/SurfaceFlinger.cpp +++ b/services/surfaceflinger/SurfaceFlinger.cpp @@ -2557,7 +2557,8 @@ bool SurfaceFlinger::commit(PhysicalDisplayId pacesetterId, diff --git a/patches_treble_td/platform_frameworks_native/0014-Fix-touch-on-Meizu-21.patch b/patches_treble_td/platform_frameworks_native/0014-Fix-touch-on-Meizu-21-Note.patch similarity index 81% rename from patches_treble_td/platform_frameworks_native/0014-Fix-touch-on-Meizu-21.patch rename to patches_treble_td/platform_frameworks_native/0014-Fix-touch-on-Meizu-21-Note.patch index f742abb3..79250547 100644 --- a/patches_treble_td/platform_frameworks_native/0014-Fix-touch-on-Meizu-21.patch +++ b/patches_treble_td/platform_frameworks_native/0014-Fix-touch-on-Meizu-21-Note.patch @@ -1,21 +1,21 @@ -From c5188e7fd8cca609c6d37d5a100edfac8cab8bb7 Mon Sep 17 00:00:00 2001 +From 7b88d891d66983bbc878d9261af8b677b7185026 Mon Sep 17 00:00:00 2001 From: Andy CrossGate Yan Date: Sat, 17 Aug 2024 20:49:53 +0800 -Subject: [PATCH 14/14] Fix touch on Meizu 21 +Subject: [PATCH 14/14] Fix touch on Meizu 21 / Note Raw values from the panel are multiplied by 10, causing most touch events to fall out of bounds and get dropped Change-Id: If854a814dee784a2693cc4597169107d6b8561f3 --- - .../accumulator/MultiTouchMotionAccumulator.cpp | 12 ++++++++++-- - .../accumulator/MultiTouchMotionAccumulator.h | 4 ++++ - .../accumulator/SingleTouchMotionAccumulator.cpp | 14 ++++++++++---- - .../accumulator/SingleTouchMotionAccumulator.h | 2 ++ - 4 files changed, 26 insertions(+), 6 deletions(-) + .../accumulator/MultiTouchMotionAccumulator.cpp | 13 +++++++++++-- + .../accumulator/MultiTouchMotionAccumulator.h | 4 ++++ + .../accumulator/SingleTouchMotionAccumulator.cpp | 15 +++++++++++---- + .../accumulator/SingleTouchMotionAccumulator.h | 2 ++ + 4 files changed, 28 insertions(+), 6 deletions(-) diff --git a/services/inputflinger/reader/mapper/accumulator/MultiTouchMotionAccumulator.cpp b/services/inputflinger/reader/mapper/accumulator/MultiTouchMotionAccumulator.cpp -index b3f170075c..7a2ecffe00 100644 +index b3f170075c..0d50de0588 100644 --- a/services/inputflinger/reader/mapper/accumulator/MultiTouchMotionAccumulator.cpp +++ b/services/inputflinger/reader/mapper/accumulator/MultiTouchMotionAccumulator.cpp @@ -14,6 +14,8 @@ @@ -27,12 +27,13 @@ index b3f170075c..7a2ecffe00 100644 // clang-format off #include "../Macros.h" // clang-format on -@@ -151,6 +153,12 @@ void MultiTouchMotionAccumulator::populateCurrentSlot( +@@ -151,6 +153,13 @@ void MultiTouchMotionAccumulator::populateCurrentSlot( // --- MultiTouchMotionAccumulator::Slot --- +MultiTouchMotionAccumulator::Slot::Slot() { -+ if (android::base::GetProperty("ro.product.vendor.device", "") == "meizu21") { ++ std::string targetDevice = android::base::GetProperty("ro.product.vendor.device", ""); ++ if (targetDevice == "meizu21" || targetDevice == "Meizu21Note") { + mAbsMtPositionXYRatio = 10; + } +} @@ -40,7 +41,7 @@ index b3f170075c..7a2ecffe00 100644 ToolType MultiTouchMotionAccumulator::Slot::getToolType() const { if (mHaveAbsMtToolType) { switch (mAbsMtToolType) { -@@ -168,10 +176,10 @@ ToolType MultiTouchMotionAccumulator::Slot::getToolType() const { +@@ -168,10 +177,10 @@ ToolType MultiTouchMotionAccumulator::Slot::getToolType() const { void MultiTouchMotionAccumulator::Slot::populateAxisValue(int32_t axisCode, int32_t value) { switch (axisCode) { case ABS_MT_POSITION_X: @@ -76,7 +77,7 @@ index a0f21470c4..e82b7df1ba 100644 void populateAxisValue(int32_t axisCode, int32_t value); }; diff --git a/services/inputflinger/reader/mapper/accumulator/SingleTouchMotionAccumulator.cpp b/services/inputflinger/reader/mapper/accumulator/SingleTouchMotionAccumulator.cpp -index 27b8e40fc6..e33b229221 100644 +index 27b8e40fc6..fe37638103 100644 --- a/services/inputflinger/reader/mapper/accumulator/SingleTouchMotionAccumulator.cpp +++ b/services/inputflinger/reader/mapper/accumulator/SingleTouchMotionAccumulator.cpp @@ -14,6 +14,8 @@ @@ -88,12 +89,13 @@ index 27b8e40fc6..e33b229221 100644 #include "SingleTouchMotionAccumulator.h" #include "EventHub.h" -@@ -23,11 +25,15 @@ namespace android { +@@ -23,11 +25,16 @@ namespace android { SingleTouchMotionAccumulator::SingleTouchMotionAccumulator() { clearAbsoluteAxes(); + -+ if (android::base::GetProperty("ro.product.vendor.device", "") == "meizu21") { ++ std::string targetDevice = android::base::GetProperty("ro.product.vendor.device", ""); ++ if (targetDevice == "meizu21" || targetDevice == "Meizu21Note") { + mAbsXYRatio = 10; + } } @@ -106,7 +108,7 @@ index 27b8e40fc6..e33b229221 100644 mAbsPressure = deviceContext.getAbsoluteAxisValue(ABS_PRESSURE); mAbsToolWidth = deviceContext.getAbsoluteAxisValue(ABS_TOOL_WIDTH); mAbsDistance = deviceContext.getAbsoluteAxisValue(ABS_DISTANCE); -@@ -49,10 +55,10 @@ void SingleTouchMotionAccumulator::process(const RawEvent* rawEvent) { +@@ -49,10 +56,10 @@ void SingleTouchMotionAccumulator::process(const RawEvent* rawEvent) { if (rawEvent->type == EV_ABS) { switch (rawEvent->code) { case ABS_X: