From: LuK1337 Date: Sat, 15 Apr 2017 09:13:39 +0000 (+0200) Subject: Update OMS patches X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=5d2287a1f6fbddf4710d214febfde9872f83a7a0;p=GitHub%2FStricted%2Fandroid_vendor_extra.git Update OMS patches --- diff --git a/patches/frameworks/base/0001-OMS7-N-Support-tagging-resources-as-OK-to-overlay-1-.patch b/patches/frameworks/base/0001-OMS7-N-Support-tagging-resources-as-OK-to-overlay-1-.patch index bd3c013..6d4372d 100644 --- a/patches/frameworks/base/0001-OMS7-N-Support-tagging-resources-as-OK-to-overlay-1-.patch +++ b/patches/frameworks/base/0001-OMS7-N-Support-tagging-resources-as-OK-to-overlay-1-.patch @@ -1,7 +1,7 @@ -From e399fb9b4fee40ad4bf0e4aee27b6cffae5a5899 Mon Sep 17 00:00:00 2001 +From f6204a4828e9e0c1dc5aad969011be4a83700373 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A5rten=20Kongstad?= Date: Tue, 15 Dec 2015 16:08:31 +0100 -Subject: [PATCH 01/47] OMS7-N: Support tagging resources as OK to overlay +Subject: [PATCH 01/49] OMS7-N: Support tagging resources as OK to overlay [1/11] This will allow applications to have a resource xml defining what diff --git a/patches/frameworks/base/0002-OMS7-N-Introduce-the-OverlayManagerService-2-11.patch b/patches/frameworks/base/0002-OMS7-N-Introduce-the-OverlayManagerService-2-11.patch index cf27eb4..f36c5f2 100644 --- a/patches/frameworks/base/0002-OMS7-N-Introduce-the-OverlayManagerService-2-11.patch +++ b/patches/frameworks/base/0002-OMS7-N-Introduce-the-OverlayManagerService-2-11.patch @@ -1,7 +1,7 @@ -From f9e781525d7ece472d2016584914755e8d13bec7 Mon Sep 17 00:00:00 2001 +From 426653e05cdd3bd6199f1bbfea52367322d1403b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A5rten=20Kongstad?= Date: Tue, 15 Dec 2015 16:40:23 +0100 -Subject: [PATCH 02/47] OMS7-N: Introduce the OverlayManagerService [2/11] +Subject: [PATCH 02/49] OMS7-N: Introduce the OverlayManagerService [2/11] Add a new system service to manage Runtime Resource Overlays. This will offload the PackageManagerService and allow administration of overlay diff --git a/patches/frameworks/base/0003-OMS7-N-Integrate-OverlayManagerService-into-framewor.patch b/patches/frameworks/base/0003-OMS7-N-Integrate-OverlayManagerService-into-framewor.patch index 4d7a44d..ba7f291 100644 --- a/patches/frameworks/base/0003-OMS7-N-Integrate-OverlayManagerService-into-framewor.patch +++ b/patches/frameworks/base/0003-OMS7-N-Integrate-OverlayManagerService-into-framewor.patch @@ -1,7 +1,7 @@ -From 427b392b55d816ff7a56461718d94d42048cb775 Mon Sep 17 00:00:00 2001 +From e1cb459784f1121182099abd68476907413f3601 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A5rten=20Kongstad?= Date: Thu, 2 Jun 2016 09:35:31 +0200 -Subject: [PATCH 03/47] OMS7-N: Integrate OverlayManagerService into framework +Subject: [PATCH 03/49] OMS7-N: Integrate OverlayManagerService into framework [3/11] Hand over ownership of overlays to OverlayManagerService. diff --git a/patches/frameworks/base/0004-OMS7-N-Set-EXTRA_REPLACING-correctly-in-ACTION_PACKA.patch b/patches/frameworks/base/0004-OMS7-N-Set-EXTRA_REPLACING-correctly-in-ACTION_PACKA.patch index 8ebcc3b..9f64421 100644 --- a/patches/frameworks/base/0004-OMS7-N-Set-EXTRA_REPLACING-correctly-in-ACTION_PACKA.patch +++ b/patches/frameworks/base/0004-OMS7-N-Set-EXTRA_REPLACING-correctly-in-ACTION_PACKA.patch @@ -1,7 +1,7 @@ -From cb7d5a91445c6a76a2388b57f65d1982a64e55bb Mon Sep 17 00:00:00 2001 +From dd2d72624f939b55c15d2ff20899971439071589 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A5rten=20Kongstad?= Date: Mon, 25 Apr 2016 16:29:22 +0200 -Subject: [PATCH 04/47] OMS7-N: Set EXTRA_REPLACING correctly in +Subject: [PATCH 04/49] OMS7-N: Set EXTRA_REPLACING correctly in ACTION_PACKAGE_ADDED [4/11] When broadcasting ACTION_PACKAGE_ADDED the recipients of the Intent are diff --git a/patches/frameworks/base/0005-OMS7-N-idmap-suppress-print-for-padded-resources-5-1.patch b/patches/frameworks/base/0005-OMS7-N-idmap-suppress-print-for-padded-resources-5-1.patch index 66cebcd..300b3ed 100644 --- a/patches/frameworks/base/0005-OMS7-N-idmap-suppress-print-for-padded-resources-5-1.patch +++ b/patches/frameworks/base/0005-OMS7-N-idmap-suppress-print-for-padded-resources-5-1.patch @@ -1,7 +1,7 @@ -From 51337c08f01e1ea59cefddf87e264cce0a2c3112 Mon Sep 17 00:00:00 2001 +From 73d07526f1a5616ea70b3b4fd74db8127a62c36a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A5rten=20Kongstad?= Date: Mon, 29 Feb 2016 14:12:35 +0100 -Subject: [PATCH 05/47] OMS7-N: idmap: suppress print for padded resources +Subject: [PATCH 05/49] OMS7-N: idmap: suppress print for padded resources [5/11] Change-Id: I565ccf515068b96927e4317cc9c06543415bb324 diff --git a/patches/frameworks/base/0006-OMS7-N-Fix-memory-leak-during-idmap-creation-6-11.patch b/patches/frameworks/base/0006-OMS7-N-Fix-memory-leak-during-idmap-creation-6-11.patch index 591ad0b..b746594 100644 --- a/patches/frameworks/base/0006-OMS7-N-Fix-memory-leak-during-idmap-creation-6-11.patch +++ b/patches/frameworks/base/0006-OMS7-N-Fix-memory-leak-during-idmap-creation-6-11.patch @@ -1,7 +1,7 @@ -From e7c0bc5092c738b357aef95eee4bc967d8972081 Mon Sep 17 00:00:00 2001 +From c8fac2f91203a28277b274ea07d5a50a0201ae2d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A5rten=20Kongstad?= Date: Thu, 2 Jun 2016 09:34:36 +0200 -Subject: [PATCH 06/47] OMS7-N: Fix memory leak during idmap creation [6/11] +Subject: [PATCH 06/49] OMS7-N: Fix memory leak during idmap creation [6/11] Plug a memory leak in AssetManager::createIdmap. diff --git a/patches/frameworks/base/0007-OMS7-N-installd-add-command-rmidmap-7-11.patch b/patches/frameworks/base/0007-OMS7-N-installd-add-command-rmidmap-7-11.patch index 32bd1a6..30adeb1 100644 --- a/patches/frameworks/base/0007-OMS7-N-installd-add-command-rmidmap-7-11.patch +++ b/patches/frameworks/base/0007-OMS7-N-installd-add-command-rmidmap-7-11.patch @@ -1,7 +1,7 @@ -From 94df6a3b5b4c5d7f160b33ac972b8c3d33868b9a Mon Sep 17 00:00:00 2001 +From 400f22dd613cd51d2aa5f06ca1833652695604c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A5rten=20Kongstad?= Date: Thu, 2 Jun 2016 09:35:09 +0200 -Subject: [PATCH 07/47] OMS7-N: installd: add command 'rmidmap' [7/11] +Subject: [PATCH 07/49] OMS7-N: installd: add command 'rmidmap' [7/11] Add an installd command to remove an idmap file. This is the inverse of the 'idmap' command and is intended for clean-up once an idmap file is diff --git a/patches/frameworks/base/0008-OMS7-N-Disable-Zygote-preloaded-drawables-8-11.patch b/patches/frameworks/base/0008-OMS7-N-Disable-Zygote-preloaded-drawables-8-11.patch index 07b3288..2307558 100644 --- a/patches/frameworks/base/0008-OMS7-N-Disable-Zygote-preloaded-drawables-8-11.patch +++ b/patches/frameworks/base/0008-OMS7-N-Disable-Zygote-preloaded-drawables-8-11.patch @@ -1,7 +1,7 @@ -From 3ff68dce5cd9bd2b6f09816ff324e85f4b3f7a9b Mon Sep 17 00:00:00 2001 +From 80571b9878569fdc7fa2469d518b61593568d60f Mon Sep 17 00:00:00 2001 From: Josh Guilfoyle Date: Wed, 26 Jan 2011 23:28:43 -0800 -Subject: [PATCH 08/47] OMS7-N: Disable Zygote preloaded drawables [8/11] +Subject: [PATCH 08/49] OMS7-N: Disable Zygote preloaded drawables [8/11] With a theme applied, most of these preloaded drawables go unused. Any assets the theme has redirected will need to be loaded with each app diff --git a/patches/frameworks/base/0009-OMS7-N-Persistence-on-boot-through-OverlayManagerSer.patch b/patches/frameworks/base/0009-OMS7-N-Persistence-on-boot-through-OverlayManagerSer.patch index 5edcda4..47cd7d4 100644 --- a/patches/frameworks/base/0009-OMS7-N-Persistence-on-boot-through-OverlayManagerSer.patch +++ b/patches/frameworks/base/0009-OMS7-N-Persistence-on-boot-through-OverlayManagerSer.patch @@ -1,7 +1,7 @@ -From fa6affd0e6101b05268d8f838a5eb74a447b231b Mon Sep 17 00:00:00 2001 +From a865b85d19ad8f71f3e5addd4f8f6cf1ad2dbce4 Mon Sep 17 00:00:00 2001 From: Nicholas Chum Date: Sun, 19 Jun 2016 10:37:13 -0400 -Subject: [PATCH 09/47] OMS7-N: Persistence on boot through +Subject: [PATCH 09/49] OMS7-N: Persistence on boot through OverlayManagerServiceImpl [9/11] Overlays should not be enforced by the traditional OverlayManagerService diff --git a/patches/frameworks/base/0010-OMS7-N-Do-not-enforce-code-policy-limiting-overlay-i.patch b/patches/frameworks/base/0010-OMS7-N-Do-not-enforce-code-policy-limiting-overlay-i.patch index c8e97bf..673ce52 100644 --- a/patches/frameworks/base/0010-OMS7-N-Do-not-enforce-code-policy-limiting-overlay-i.patch +++ b/patches/frameworks/base/0010-OMS7-N-Do-not-enforce-code-policy-limiting-overlay-i.patch @@ -1,7 +1,7 @@ -From 0128c1fcd6675c009fccfd8c2fd8247a73cfa1ec Mon Sep 17 00:00:00 2001 +From 0e31986d918c98ef50101f3188c4585659c251ad Mon Sep 17 00:00:00 2001 From: Nicholas Chum Date: Thu, 27 Oct 2016 07:08:00 +0200 -Subject: [PATCH 10/47] OMS7-N: Do not enforce code policy limiting overlay +Subject: [PATCH 10/49] OMS7-N: Do not enforce code policy limiting overlay installation [10/11] Change-Id: Iea317f3771f25dbfcbf4938e88cace12fd97d7eb diff --git a/patches/frameworks/base/0011-OMS7-N-Implement-multi-target-enable-disable-and-dis.patch b/patches/frameworks/base/0011-OMS7-N-Implement-multi-target-enable-disable-and-dis.patch index 85f6a5f..fa4f726 100644 --- a/patches/frameworks/base/0011-OMS7-N-Implement-multi-target-enable-disable-and-dis.patch +++ b/patches/frameworks/base/0011-OMS7-N-Implement-multi-target-enable-disable-and-dis.patch @@ -1,7 +1,7 @@ -From 38655468244c789bba45df44e022e334ef8d14d8 Mon Sep 17 00:00:00 2001 +From 275bd581044b3c419d3b240e8e9f5c8caaf13438 Mon Sep 17 00:00:00 2001 From: Jacob McSwain Date: Sun, 26 Jun 2016 15:21:52 -0500 -Subject: [PATCH 11/47] OMS7-N: Implement multi-target enable/disable and +Subject: [PATCH 11/49] OMS7-N: Implement multi-target enable/disable and disable-all [11/11] Just use the enable option like normal, but you can add more arguments diff --git a/patches/frameworks/base/0012-N-Extras-Add-dynamic-theme-BootAnimation-support.patch b/patches/frameworks/base/0012-N-Extras-Add-dynamic-theme-BootAnimation-support.patch index 541cc69..2d9d5b7 100644 --- a/patches/frameworks/base/0012-N-Extras-Add-dynamic-theme-BootAnimation-support.patch +++ b/patches/frameworks/base/0012-N-Extras-Add-dynamic-theme-BootAnimation-support.patch @@ -1,7 +1,7 @@ -From 6401e0731359e93a0ab6d27e2482fcc4115e864c Mon Sep 17 00:00:00 2001 +From f40967b27513d7525475ad042e19e1a1b853b79e Mon Sep 17 00:00:00 2001 From: 0xD34D Date: Mon, 20 Jun 2016 22:59:48 +0300 -Subject: [PATCH 12/47] N-Extras: Add dynamic theme BootAnimation support +Subject: [PATCH 12/49] N-Extras: Add dynamic theme BootAnimation support Extracted from "Themes: Port to CM13 [1/3]" http://review.cyanogenmod.org/#/c/113273/14 diff --git a/patches/frameworks/base/0013-N-Extras-Add-dynamic-theme-fonts-support.patch b/patches/frameworks/base/0013-N-Extras-Add-dynamic-theme-fonts-support.patch index 58a3d1e..5d26a0f 100644 --- a/patches/frameworks/base/0013-N-Extras-Add-dynamic-theme-fonts-support.patch +++ b/patches/frameworks/base/0013-N-Extras-Add-dynamic-theme-fonts-support.patch @@ -1,7 +1,7 @@ -From 13155afe5a3c9a0cc921e3626c8e4e943ac5287e Mon Sep 17 00:00:00 2001 +From 14684604fbc8574ac4fca7feb4a233fcdd1b4537 Mon Sep 17 00:00:00 2001 From: 0xD34D Date: Wed, 22 Jun 2016 23:54:23 +0300 -Subject: [PATCH 13/47] N-Extras: Add dynamic theme fonts support +Subject: [PATCH 13/49] N-Extras: Add dynamic theme fonts support Due to the nature of the removal of assetSeq in OMS7+, we now use the more controllable font scale updating code to update the fonts on diff --git a/patches/frameworks/base/0014-N-Extras-AudioService-Allow-system-effect-sounds-to-.patch b/patches/frameworks/base/0014-N-Extras-AudioService-Allow-system-effect-sounds-to-.patch index 7c65573..4704e9b 100644 --- a/patches/frameworks/base/0014-N-Extras-AudioService-Allow-system-effect-sounds-to-.patch +++ b/patches/frameworks/base/0014-N-Extras-AudioService-Allow-system-effect-sounds-to-.patch @@ -1,7 +1,7 @@ -From 4fe7e1f0459c09f59b87f2fe59203065e160ee1d Mon Sep 17 00:00:00 2001 +From 3aec8b5a9d53c3497e0317cd050b88fd00d60556 Mon Sep 17 00:00:00 2001 From: Nicholas Chum Date: Sun, 17 Jul 2016 17:56:40 -0400 -Subject: [PATCH 14/47] N-Extras: AudioService: Allow system effect sounds to +Subject: [PATCH 14/49] N-Extras: AudioService: Allow system effect sounds to be themed This commit checks whether there is a preexisting file in the themed diff --git a/patches/frameworks/base/0015-Themes-Expose-resolver-hardcoded-colors.patch b/patches/frameworks/base/0015-Themes-Expose-resolver-hardcoded-colors.patch index 6f07fa7..ea914a1 100644 --- a/patches/frameworks/base/0015-Themes-Expose-resolver-hardcoded-colors.patch +++ b/patches/frameworks/base/0015-Themes-Expose-resolver-hardcoded-colors.patch @@ -1,7 +1,7 @@ -From f55f8d8025d795ddbe1f759055f4ea3d5dcf98af Mon Sep 17 00:00:00 2001 +From 7d5ae63634e85a9b33e7341c92fca3947b962290 Mon Sep 17 00:00:00 2001 From: Dave Kover Date: Fri, 9 Dec 2016 10:47:17 -0700 -Subject: [PATCH 15/47] Themes: Expose resolver hardcoded colors +Subject: [PATCH 15/49] Themes: Expose resolver hardcoded colors commit dbbd5e70cc65002df41561474b03362022dd6716 Author: Dave Kover diff --git a/patches/frameworks/base/0016-Themes-Allow-Immersive-cling-colors-to-be-fully-them.patch b/patches/frameworks/base/0016-Themes-Allow-Immersive-cling-colors-to-be-fully-them.patch index b01e7ef..1ee4c93 100644 --- a/patches/frameworks/base/0016-Themes-Allow-Immersive-cling-colors-to-be-fully-them.patch +++ b/patches/frameworks/base/0016-Themes-Allow-Immersive-cling-colors-to-be-fully-them.patch @@ -1,7 +1,7 @@ -From 5bdb65ab83637446427dc8be510f75a784d1cb0e Mon Sep 17 00:00:00 2001 +From 0df97eb6065a1a21ded231a0a286ac0f9ae8c0ac Mon Sep 17 00:00:00 2001 From: Nicholas Chum Date: Tue, 17 Nov 2015 18:57:11 -0500 -Subject: [PATCH 16/47] Themes: Allow Immersive cling colors to be fully themed +Subject: [PATCH 16/49] Themes: Allow Immersive cling colors to be fully themed This allows the immersive mode help tooltip to be themed completely by removing hardcoded framework calls. Let the themer decide what they want diff --git a/patches/frameworks/base/0017-Themes-Allow-Permission-Icons-to-be-fully-themed.patch b/patches/frameworks/base/0017-Themes-Allow-Permission-Icons-to-be-fully-themed.patch index 65252a6..02038ee 100644 --- a/patches/frameworks/base/0017-Themes-Allow-Permission-Icons-to-be-fully-themed.patch +++ b/patches/frameworks/base/0017-Themes-Allow-Permission-Icons-to-be-fully-themed.patch @@ -1,7 +1,7 @@ -From f8647465e56fda449dcfb1bca7e988b373e3b7cf Mon Sep 17 00:00:00 2001 +From 0942917b30f3ac7508c9f3b324321db19b5230f5 Mon Sep 17 00:00:00 2001 From: Nicholas Chum Date: Mon, 23 Nov 2015 23:49:15 -0500 -Subject: [PATCH 17/47] Themes: Allow Permission Icons to be fully themed +Subject: [PATCH 17/49] Themes: Allow Permission Icons to be fully themed This removes the forced @android:color/black tint on the permission icons during app sideload through PackageInstaller. diff --git a/patches/frameworks/base/0018-Themes-Allow-Navbar-ripple-color-to-be-themed.patch b/patches/frameworks/base/0018-Themes-Allow-Navbar-ripple-color-to-be-themed.patch index 4f291e8..85130ef 100644 --- a/patches/frameworks/base/0018-Themes-Allow-Navbar-ripple-color-to-be-themed.patch +++ b/patches/frameworks/base/0018-Themes-Allow-Navbar-ripple-color-to-be-themed.patch @@ -1,7 +1,7 @@ -From 466359b147637ec9a126b6e4e411156e977ebd67 Mon Sep 17 00:00:00 2001 +From 7e786c09511978b1ab02cc15d3819f4ba0e74c98 Mon Sep 17 00:00:00 2001 From: Dave Kover Date: Thu, 14 Apr 2016 10:19:13 +0700 -Subject: [PATCH 18/47] Themes: Allow Navbar ripple color to be themed +Subject: [PATCH 18/49] Themes: Allow Navbar ripple color to be themed PS1: Layers Commit by @setiawanjimmy diff --git a/patches/frameworks/base/0019-SystemUI-Expose-QS-edit-item-decoration-background-c.patch b/patches/frameworks/base/0019-SystemUI-Expose-QS-edit-item-decoration-background-c.patch index 1ee8075..50568d9 100644 --- a/patches/frameworks/base/0019-SystemUI-Expose-QS-edit-item-decoration-background-c.patch +++ b/patches/frameworks/base/0019-SystemUI-Expose-QS-edit-item-decoration-background-c.patch @@ -1,7 +1,7 @@ -From 5f1190b455b738cd8df13d216846fedf9c671434 Mon Sep 17 00:00:00 2001 +From c6c7820b9a4bedc790cf8645b27cd2b076e5b09a Mon Sep 17 00:00:00 2001 From: Ivan Iskandar Date: Sun, 18 Sep 2016 21:33:18 +0700 -Subject: [PATCH 19/47] SystemUI: Expose QS edit item decoration background +Subject: [PATCH 19/49] SystemUI: Expose QS edit item decoration background color PS2: diff --git a/patches/frameworks/base/0020-Allow-custom-alpha-for-notification-shade-bg-color.patch b/patches/frameworks/base/0020-Allow-custom-alpha-for-notification-shade-bg-color.patch index 1daf6be..7a8e076 100644 --- a/patches/frameworks/base/0020-Allow-custom-alpha-for-notification-shade-bg-color.patch +++ b/patches/frameworks/base/0020-Allow-custom-alpha-for-notification-shade-bg-color.patch @@ -1,7 +1,7 @@ -From faced872b4cea982ee2f8b1fc70c174d903539b2 Mon Sep 17 00:00:00 2001 +From a1c4f986d943b1e3160a9a8bced213c82b89c71b Mon Sep 17 00:00:00 2001 From: Simao Gomes Viana Date: Fri, 25 Nov 2016 20:50:29 +0100 -Subject: [PATCH 20/47] Allow custom alpha for notification shade bg color +Subject: [PATCH 20/49] Allow custom alpha for notification shade bg color Change-Id: If621df83d994feae0448a734408ba85ac8329325 --- diff --git a/patches/frameworks/base/0021-Themes-Expose-various-QuickSettings-text-colors.patch b/patches/frameworks/base/0021-Themes-Expose-various-QuickSettings-text-colors.patch index 63f3dbb..71b297d 100644 --- a/patches/frameworks/base/0021-Themes-Expose-various-QuickSettings-text-colors.patch +++ b/patches/frameworks/base/0021-Themes-Expose-various-QuickSettings-text-colors.patch @@ -1,7 +1,7 @@ -From bb171f6151d20d4dce0a0319aebbdb7637f74714 Mon Sep 17 00:00:00 2001 +From fb7136ed7717ae3f4e6e21bb47845d354eda6372 Mon Sep 17 00:00:00 2001 From: "Niklas Schnettler (Sh4dowSoul)" Date: Wed, 5 Oct 2016 18:07:43 +0200 -Subject: [PATCH 21/47] Themes: Expose various QuickSettings text colors +Subject: [PATCH 21/49] Themes: Expose various QuickSettings text colors Change-Id: Iaea71ca83afbc3d8cc6faea6afac16cabb46cfff --- diff --git a/patches/frameworks/base/0022-Notifications-Expose-a-bool-to-disable-dynamic-color.patch b/patches/frameworks/base/0022-Notifications-Expose-a-bool-to-disable-dynamic-color.patch index 4401621..4bf222a 100644 --- a/patches/frameworks/base/0022-Notifications-Expose-a-bool-to-disable-dynamic-color.patch +++ b/patches/frameworks/base/0022-Notifications-Expose-a-bool-to-disable-dynamic-color.patch @@ -1,7 +1,7 @@ -From c625ad1cc957fcbb4211fb827adbd6d7e871e9a6 Mon Sep 17 00:00:00 2001 +From a1bb1e3773e2874fe1ed9078a78afcd071130feb Mon Sep 17 00:00:00 2001 From: Nicholas Chum Date: Sat, 27 Aug 2016 10:56:46 -0400 -Subject: [PATCH 22/47] Notifications: Expose a bool to disable dynamic colors +Subject: [PATCH 22/49] Notifications: Expose a bool to disable dynamic colors This commit allows a themer to overlay a boolean value in config.xml to disable dynamic colors applied to the app title and app icon of each diff --git a/patches/frameworks/base/0023-Notification-dynamic-colors-bool-compatible-with-OMS.patch b/patches/frameworks/base/0023-Notification-dynamic-colors-bool-compatible-with-OMS.patch index 1e66cc9..75e5460 100644 --- a/patches/frameworks/base/0023-Notification-dynamic-colors-bool-compatible-with-OMS.patch +++ b/patches/frameworks/base/0023-Notification-dynamic-colors-bool-compatible-with-OMS.patch @@ -1,7 +1,7 @@ -From acc2c83469f20c56d7cd412ac61b8bb60ab5f220 Mon Sep 17 00:00:00 2001 +From efa84af5ae2d6cfa14ec9bb5c38ba894d92a19f1 Mon Sep 17 00:00:00 2001 From: George G Date: Mon, 14 Nov 2016 14:49:47 +0200 -Subject: [PATCH 23/47] Notification dynamic colors bool compatible with OMS7 +Subject: [PATCH 23/49] Notification dynamic colors bool compatible with OMS7 OMS7 introduced this fine piece of code: https://github.com/SubstratumResources/platform_frameworks_base/blob/n-oms7/core/java/android/app/ResourcesManager.java#L897..#L904 diff --git a/patches/frameworks/base/0024-Allow-prevention-of-doze-notification-color-inversio.patch b/patches/frameworks/base/0024-Allow-prevention-of-doze-notification-color-inversio.patch index f2c7f53..af6576e 100644 --- a/patches/frameworks/base/0024-Allow-prevention-of-doze-notification-color-inversio.patch +++ b/patches/frameworks/base/0024-Allow-prevention-of-doze-notification-color-inversio.patch @@ -1,7 +1,7 @@ -From 35d80aaee2b9a8707d32225963f6cd4d5fb22b1d Mon Sep 17 00:00:00 2001 +From 8839610344f9955b295299f862ae0c1bd2c2b52b Mon Sep 17 00:00:00 2001 From: Daniel Koman Date: Fri, 17 Apr 2015 11:56:28 -0600 -Subject: [PATCH 24/47] Allow prevention of doze notification color inversion +Subject: [PATCH 24/49] Allow prevention of doze notification color inversion Removed empty newline at the end -- KreAch3R Removed slims files for aosp roms -- Bgill55 diff --git a/patches/frameworks/base/0025-OMS7-compatible-Ambient-notification-inversion.patch b/patches/frameworks/base/0025-OMS7-compatible-Ambient-notification-inversion.patch index ac77797..37e8f15 100644 --- a/patches/frameworks/base/0025-OMS7-compatible-Ambient-notification-inversion.patch +++ b/patches/frameworks/base/0025-OMS7-compatible-Ambient-notification-inversion.patch @@ -1,7 +1,7 @@ -From cfc039feef23fb3144a5740075d3cec73c9a6e92 Mon Sep 17 00:00:00 2001 +From c017d1d8a7ae32fc5ea4935c79c60e36fd6df638 Mon Sep 17 00:00:00 2001 From: George G Date: Mon, 14 Nov 2016 14:44:17 +0200 -Subject: [PATCH 25/47] OMS7 compatible 'Ambient notification inversion' +Subject: [PATCH 25/49] OMS7 compatible 'Ambient notification inversion' OMS7 introduced this fine piece of code: https://github.com/SubstratumResources/platform_frameworks_base/blob/n-oms7/core/java/android/app/ResourcesManager.java#L897..#L904 diff --git a/patches/frameworks/base/0026-doze-allow-grayscale-even-if-invert-boolean-is-false.patch b/patches/frameworks/base/0026-doze-allow-grayscale-even-if-invert-boolean-is-false.patch index a9f8ccc..7d0f455 100644 --- a/patches/frameworks/base/0026-doze-allow-grayscale-even-if-invert-boolean-is-false.patch +++ b/patches/frameworks/base/0026-doze-allow-grayscale-even-if-invert-boolean-is-false.patch @@ -1,7 +1,7 @@ -From b48b7e7feb3b89d193818882291476a4bf97921a Mon Sep 17 00:00:00 2001 +From 8e9c318d92c08deae8d033f814920788b1384417 Mon Sep 17 00:00:00 2001 From: Daniel Koman Date: Wed, 28 Sep 2016 15:28:26 +0200 -Subject: [PATCH 26/47] doze: allow grayscale even if invert boolean is false +Subject: [PATCH 26/49] doze: allow grayscale even if invert boolean is false for dark themes, we are setting the config boolean for inverting doze notifications to false. in addition to preventing diff --git a/patches/frameworks/base/0027-SystemUI-Use-own-drawables-for-QS-expand-icon.patch b/patches/frameworks/base/0027-SystemUI-Use-own-drawables-for-QS-expand-icon.patch index 8d81dab..8b409dd 100644 --- a/patches/frameworks/base/0027-SystemUI-Use-own-drawables-for-QS-expand-icon.patch +++ b/patches/frameworks/base/0027-SystemUI-Use-own-drawables-for-QS-expand-icon.patch @@ -1,7 +1,7 @@ -From 097b30f87e8e9f3bdadd77ba0d197699175ce37c Mon Sep 17 00:00:00 2001 +From c526ccd04c661ea2ff07b3acd6ff2edda1f54718 Mon Sep 17 00:00:00 2001 From: Ivan Iskandar Date: Mon, 5 Dec 2016 19:00:04 +0700 -Subject: [PATCH 27/47] SystemUI: Use own drawables for QS expand icon +Subject: [PATCH 27/49] SystemUI: Use own drawables for QS expand icon This was using the volume panel drawables used also on volume panel. So with this commit themers can give different icon for either QS diff --git a/patches/frameworks/base/0028-OMS7-N-ApplicationsState-add-filter-for-Substratum-o.patch b/patches/frameworks/base/0028-OMS7-N-ApplicationsState-add-filter-for-Substratum-o.patch index 69816a4..18fed9e 100644 --- a/patches/frameworks/base/0028-OMS7-N-ApplicationsState-add-filter-for-Substratum-o.patch +++ b/patches/frameworks/base/0028-OMS7-N-ApplicationsState-add-filter-for-Substratum-o.patch @@ -1,7 +1,7 @@ -From 2df6686a1a9db81489b5a4057f62b16f480b8ee3 Mon Sep 17 00:00:00 2001 +From f069c34b2e047d31b79e3935a6e926d709a24878 Mon Sep 17 00:00:00 2001 From: George G Date: Mon, 4 Jul 2016 06:25:15 +0300 -Subject: [PATCH 28/47] OMS7-N: ApplicationsState: add filter for Substratum +Subject: [PATCH 28/49] OMS7-N: ApplicationsState: add filter for Substratum overlays [1/2] This commit allows the framework to handle the filtering of the diff --git a/patches/frameworks/base/0029-OMS7-N-ApplicationsState-add-filter-for-Substratum-i.patch b/patches/frameworks/base/0029-OMS7-N-ApplicationsState-add-filter-for-Substratum-i.patch index 61e5659..f20f409 100644 --- a/patches/frameworks/base/0029-OMS7-N-ApplicationsState-add-filter-for-Substratum-i.patch +++ b/patches/frameworks/base/0029-OMS7-N-ApplicationsState-add-filter-for-Substratum-i.patch @@ -1,7 +1,7 @@ -From ff8f57248873dc3d106b6624c3ef37c1d3cf6dce Mon Sep 17 00:00:00 2001 +From 947788aec862c3854c0d49da85d7e5ecf108d922 Mon Sep 17 00:00:00 2001 From: Kuba Schenk Date: Thu, 1 Dec 2016 21:48:26 +0100 -Subject: [PATCH 29/47] OMS7-N: ApplicationsState: add filter for Substratum +Subject: [PATCH 29/49] OMS7-N: ApplicationsState: add filter for Substratum icon overlays [1/2] This commit allows the framework to handle the filtering of the icon overlays found for OMS. diff --git a/patches/frameworks/base/0030-Themes-Expose-QS-battery.patch b/patches/frameworks/base/0030-Themes-Expose-QS-battery.patch index c67f36d..354d587 100644 --- a/patches/frameworks/base/0030-Themes-Expose-QS-battery.patch +++ b/patches/frameworks/base/0030-Themes-Expose-QS-battery.patch @@ -1,7 +1,7 @@ -From 71133b69ad20141d3ea63edeccc29a42d6815cf7 Mon Sep 17 00:00:00 2001 +From 08bcfa01f5d94febd9e29b062df8850654276f5a Mon Sep 17 00:00:00 2001 From: Abdulwahab Isam Date: Fri, 7 Oct 2016 08:30:11 +0300 -Subject: [PATCH 30/47] Themes: Expose QS battery +Subject: [PATCH 30/49] Themes: Expose QS battery This is needed for white themes like Belo. Should function the same with dark themes as well. diff --git a/patches/frameworks/base/0031-OMS-Introduce-MODIFY_OVERLAYS-permission-for-user-ap.patch b/patches/frameworks/base/0031-OMS-Introduce-MODIFY_OVERLAYS-permission-for-user-ap.patch index 3007478..4ea8817 100644 --- a/patches/frameworks/base/0031-OMS-Introduce-MODIFY_OVERLAYS-permission-for-user-ap.patch +++ b/patches/frameworks/base/0031-OMS-Introduce-MODIFY_OVERLAYS-permission-for-user-ap.patch @@ -1,7 +1,7 @@ -From f3509121dd03604364ee4477193b6e35cfa47d95 Mon Sep 17 00:00:00 2001 +From 5b62b039f07005aed383f410f4bf9f6b6919530e Mon Sep 17 00:00:00 2001 From: bigrushdog Date: Mon, 19 Dec 2016 04:33:31 -0800 -Subject: [PATCH 31/47] OMS: Introduce MODIFY_OVERLAYS permission for user apps +Subject: [PATCH 31/49] OMS: Introduce MODIFY_OVERLAYS permission for user apps This permission will grant the app read and write permissions to access OverlayManagerService. If caller does not posess diff --git a/patches/frameworks/base/0032-SystemUI-Expose-switch-bar-title.patch b/patches/frameworks/base/0032-SystemUI-Expose-switch-bar-title.patch index 048398a..d8a55d2 100644 --- a/patches/frameworks/base/0032-SystemUI-Expose-switch-bar-title.patch +++ b/patches/frameworks/base/0032-SystemUI-Expose-switch-bar-title.patch @@ -1,7 +1,7 @@ -From 35c793d3fa2c1c909d0108a1139ff7860a400b6f Mon Sep 17 00:00:00 2001 +From e8b28b8ddc0621b5467cdb845742eb616b9190c9 Mon Sep 17 00:00:00 2001 From: daveyannihilation Date: Sun, 1 Jan 2017 01:47:53 -0700 -Subject: [PATCH 32/47] SystemUI: Expose switch bar title +Subject: [PATCH 32/49] SystemUI: Expose switch bar title This is needed for the power notifications switchbar in SystemUI Tuner, amongst other things. diff --git a/patches/frameworks/base/0033-Expose-external-qs-tile-tint-color.patch b/patches/frameworks/base/0033-Expose-external-qs-tile-tint-color.patch index e92f6aa..ffde450 100644 --- a/patches/frameworks/base/0033-Expose-external-qs-tile-tint-color.patch +++ b/patches/frameworks/base/0033-Expose-external-qs-tile-tint-color.patch @@ -1,7 +1,7 @@ -From ffa5e6a5cfd683386da30a78418761c2dbc3466a Mon Sep 17 00:00:00 2001 +From ef0096e02217cbc1be607e6efb0a80ff6fa05c08 Mon Sep 17 00:00:00 2001 From: Alex Cruz Date: Tue, 24 Jan 2017 11:14:46 +0100 -Subject: [PATCH 33/47] Expose external qs tile tint color +Subject: [PATCH 33/49] Expose external qs tile tint color This should allow themers to get around issues like this (see pic below) diff --git a/patches/frameworks/base/0034-graphics-ADB-N-icon-compatible-with-OMS7.patch b/patches/frameworks/base/0034-graphics-ADB-N-icon-compatible-with-OMS7.patch index 2995aa3..f0cf6be 100644 --- a/patches/frameworks/base/0034-graphics-ADB-N-icon-compatible-with-OMS7.patch +++ b/patches/frameworks/base/0034-graphics-ADB-N-icon-compatible-with-OMS7.patch @@ -1,7 +1,7 @@ -From 0c22fa21bda110a0a365561174a8a7f2fc9a7cd5 Mon Sep 17 00:00:00 2001 +From 786f201680903415c5ae9ea8a52c676b3956c520 Mon Sep 17 00:00:00 2001 From: George G Date: Thu, 2 Feb 2017 01:52:27 +0200 -Subject: [PATCH 34/47] graphics: ADB "N" icon compatible with OMS7 +Subject: [PATCH 34/49] graphics: ADB "N" icon compatible with OMS7 It's the same problem as the booleans again. This time, it affected the adb "N" icon in the statusbar. This commit should fix this. diff --git a/patches/frameworks/base/0035-Set-external-QS-tiles-tint-mode-to-SRC_ATOP.patch b/patches/frameworks/base/0035-Set-external-QS-tiles-tint-mode-to-SRC_ATOP.patch index 7becb47..ba7ab80 100644 --- a/patches/frameworks/base/0035-Set-external-QS-tiles-tint-mode-to-SRC_ATOP.patch +++ b/patches/frameworks/base/0035-Set-external-QS-tiles-tint-mode-to-SRC_ATOP.patch @@ -1,7 +1,7 @@ -From 8513b09f6999d9c4c23a3635370af8dd1ce656ed Mon Sep 17 00:00:00 2001 +From 26b00b61f0062571617dec27634fc4e1f2783a99 Mon Sep 17 00:00:00 2001 From: Alex Cruz Date: Sat, 4 Feb 2017 14:13:26 +0100 -Subject: [PATCH 35/47] Set external QS tiles tint mode to SRC_ATOP +Subject: [PATCH 35/49] Set external QS tiles tint mode to SRC_ATOP While the external qs tile tint color was exposed, we had the same problem we had with the external icons in Settings which is if a themer set the color diff --git a/patches/frameworks/base/0036-Themes-Expose-Keyguard-affordance-circle-background.patch b/patches/frameworks/base/0036-Themes-Expose-Keyguard-affordance-circle-background.patch index bc84683..a5e6e33 100644 --- a/patches/frameworks/base/0036-Themes-Expose-Keyguard-affordance-circle-background.patch +++ b/patches/frameworks/base/0036-Themes-Expose-Keyguard-affordance-circle-background.patch @@ -1,7 +1,7 @@ -From 4ef465b398beeae71c855d14f26e610766fa9ebe Mon Sep 17 00:00:00 2001 +From 75424d8cfc29fa7fbfac397c405c9c7b0083010d Mon Sep 17 00:00:00 2001 From: Branden M Date: Wed, 1 Feb 2017 22:22:45 -0600 -Subject: [PATCH 36/47] Themes: Expose Keyguard affordance circle background +Subject: [PATCH 36/49] Themes: Expose Keyguard affordance circle background Change-Id: Id4a078cdbc944fa0c0736103045a0382d49ecb80 --- diff --git a/patches/frameworks/base/0037-Notification-tint-add-optional-findContrastColor-alg.patch b/patches/frameworks/base/0037-Notification-tint-add-optional-findContrastColor-alg.patch index 1d086e0..3031882 100644 --- a/patches/frameworks/base/0037-Notification-tint-add-optional-findContrastColor-alg.patch +++ b/patches/frameworks/base/0037-Notification-tint-add-optional-findContrastColor-alg.patch @@ -1,7 +1,7 @@ -From c0be59e8d33c8c68fadbab2df750d6f3254173ac Mon Sep 17 00:00:00 2001 +From f78b947d4c24e58c4e100f83d4066ccac7a2e0e0 Mon Sep 17 00:00:00 2001 From: SpiritCroc Date: Sun, 5 Feb 2017 12:00:54 +0100 -Subject: [PATCH 37/47] Notification tint: add optional findContrastColor +Subject: [PATCH 37/49] Notification tint: add optional findContrastColor algorithm for dark backgrounds Overlay config_useDarkBgNotificationIconTextTinting to enable dark bg tinting diff --git a/patches/frameworks/base/0038-Add-a-protected-broadcast-for-Masquerade-events.patch b/patches/frameworks/base/0038-Add-a-protected-broadcast-for-Masquerade-events.patch index 490abc2..dafd7bd 100644 --- a/patches/frameworks/base/0038-Add-a-protected-broadcast-for-Masquerade-events.patch +++ b/patches/frameworks/base/0038-Add-a-protected-broadcast-for-Masquerade-events.patch @@ -1,7 +1,7 @@ -From 81a8710a8cf532eaf31a6cf938802572d82bae47 Mon Sep 17 00:00:00 2001 +From fac68ee9116877e5d1a4e87e6451765e7a585418 Mon Sep 17 00:00:00 2001 From: bigrushdog Date: Sat, 14 Jan 2017 23:33:38 -0800 -Subject: [PATCH 38/47] Add a protected broadcast for Masquerade events +Subject: [PATCH 38/49] Add a protected broadcast for Masquerade events Parse extras to get event details. Docs will be available in Masquerade source code diff --git a/patches/frameworks/base/0039-OMS7-Rootless-Security-Update-Preparation-for-March-.patch b/patches/frameworks/base/0039-OMS7-Rootless-Security-Update-Preparation-for-March-.patch index 3b1d1ad..ecaa554 100644 --- a/patches/frameworks/base/0039-OMS7-Rootless-Security-Update-Preparation-for-March-.patch +++ b/patches/frameworks/base/0039-OMS7-Rootless-Security-Update-Preparation-for-March-.patch @@ -1,7 +1,7 @@ -From e3df03d2bffa02bf94632d0c1070a0d0d9d5caad Mon Sep 17 00:00:00 2001 +From 3d792eb21c6e6efc25ab25c75ef57d3a104ef457 Mon Sep 17 00:00:00 2001 From: Nicholas Chum Date: Wed, 22 Feb 2017 22:55:15 -0500 -Subject: [PATCH 39/47] OMS7: Rootless Security Update Preparation for March +Subject: [PATCH 39/49] OMS7: Rootless Security Update Preparation for March 2017 Change-Id: I93f7917eebf9f86590eb9c00841460d236702cb3 diff --git a/patches/frameworks/base/0040-OMS-Add-hide-annotation-to-MODIFY_OVERLAYS-permissio.patch b/patches/frameworks/base/0040-OMS-Add-hide-annotation-to-MODIFY_OVERLAYS-permissio.patch index 28284e6..92397b0 100644 --- a/patches/frameworks/base/0040-OMS-Add-hide-annotation-to-MODIFY_OVERLAYS-permissio.patch +++ b/patches/frameworks/base/0040-OMS-Add-hide-annotation-to-MODIFY_OVERLAYS-permissio.patch @@ -1,7 +1,7 @@ -From 7f63dd85b5618a0f661cf80c74afa1ae3fe9e123 Mon Sep 17 00:00:00 2001 +From 94c10034a345530d8d7aedec5e6fdc8a1c408de0 Mon Sep 17 00:00:00 2001 From: Evan Anderson Date: Mon, 27 Feb 2017 15:16:18 -0500 -Subject: [PATCH 40/47] OMS: Add hide annotation to MODIFY_OVERLAYS permission +Subject: [PATCH 40/49] OMS: Add hide annotation to MODIFY_OVERLAYS permission * Modifications in this file affect the public API, so we must hide our additions to build in release mode diff --git a/patches/frameworks/base/0041-FWB-Give-power-dialogs-own-set-of-volume-icons-for-t.patch b/patches/frameworks/base/0041-FWB-Give-power-dialogs-own-set-of-volume-icons-for-t.patch index df01d23..1a683bf 100644 --- a/patches/frameworks/base/0041-FWB-Give-power-dialogs-own-set-of-volume-icons-for-t.patch +++ b/patches/frameworks/base/0041-FWB-Give-power-dialogs-own-set-of-volume-icons-for-t.patch @@ -1,7 +1,7 @@ -From 48c09423a4afaeb02f927ed2addaf29f40832d9f Mon Sep 17 00:00:00 2001 +From cc5f745d17db362ef4434161316647a6b10bd68c Mon Sep 17 00:00:00 2001 From: Bryan Owens Date: Mon, 27 Feb 2017 19:06:31 -0600 -Subject: [PATCH 41/47] FWB: Give power dialogs own set of volume icons for +Subject: [PATCH 41/49] FWB: Give power dialogs own set of volume icons for themes Change-Id: I5add336c06a83b162dfd0832dfabfb06a2827421 diff --git a/patches/frameworks/base/0042-base-Force-authorize-all-calling-packages-by-Masquer.patch b/patches/frameworks/base/0042-base-Force-authorize-all-calling-packages-by-Masquer.patch index 2827f4c..49e485b 100644 --- a/patches/frameworks/base/0042-base-Force-authorize-all-calling-packages-by-Masquer.patch +++ b/patches/frameworks/base/0042-base-Force-authorize-all-calling-packages-by-Masquer.patch @@ -1,7 +1,7 @@ -From 0424a244564b745ee5185346363fe363cb353f86 Mon Sep 17 00:00:00 2001 +From a612d630f44ceba9aabcd3f620d5042decb2352b Mon Sep 17 00:00:00 2001 From: George G Date: Sat, 25 Feb 2017 17:32:18 +0200 -Subject: [PATCH 42/47] base: Force authorize all calling packages by +Subject: [PATCH 42/49] base: Force authorize all calling packages by Masquerade (2/3) Change-Id: Iaf354c4d891acf9f5e19767223e4f9860a07338f diff --git a/patches/frameworks/base/0043-Revert-Add-a-protected-broadcast-for-Masquerade-even.patch b/patches/frameworks/base/0043-Revert-Add-a-protected-broadcast-for-Masquerade-even.patch index a3614b0..ac92b10 100644 --- a/patches/frameworks/base/0043-Revert-Add-a-protected-broadcast-for-Masquerade-even.patch +++ b/patches/frameworks/base/0043-Revert-Add-a-protected-broadcast-for-Masquerade-even.patch @@ -1,7 +1,7 @@ -From 04ec5440cac206bc1b4c2b5f2ca513d802055a6e Mon Sep 17 00:00:00 2001 +From d646efcbc913cf5930d187efabb1a466f1efcb6f Mon Sep 17 00:00:00 2001 From: Nathan Chancellor Date: Sat, 4 Mar 2017 00:35:08 +0100 -Subject: [PATCH 43/47] Revert "Add a protected broadcast for Masquerade +Subject: [PATCH 43/49] Revert "Add a protected broadcast for Masquerade events" Requires https://substratum.review/#/c/374 diff --git a/patches/frameworks/base/0044-ThemeSafety-Introduce-App-Crash-Intent.patch b/patches/frameworks/base/0044-ThemeSafety-Introduce-App-Crash-Intent.patch index baab3cd..1f8f402 100644 --- a/patches/frameworks/base/0044-ThemeSafety-Introduce-App-Crash-Intent.patch +++ b/patches/frameworks/base/0044-ThemeSafety-Introduce-App-Crash-Intent.patch @@ -1,7 +1,7 @@ -From 4dcd57908d1c27b7f4590fd444373ca4e494fee5 Mon Sep 17 00:00:00 2001 +From 573a2e79516188340537c95f41eb0d5e54328169 Mon Sep 17 00:00:00 2001 From: Ivan Iskandar Date: Thu, 9 Mar 2017 13:28:22 +0100 -Subject: [PATCH 44/47] ThemeSafety: Introduce App Crash Intent +Subject: [PATCH 44/49] ThemeSafety: Introduce App Crash Intent The intent received by substratum and it will disable all enabled overlays. diff --git a/patches/frameworks/base/0045-Expose-Screenshot-flash-and-background-colors.patch b/patches/frameworks/base/0045-Expose-Screenshot-flash-and-background-colors.patch index 8255253..57cf13c 100644 --- a/patches/frameworks/base/0045-Expose-Screenshot-flash-and-background-colors.patch +++ b/patches/frameworks/base/0045-Expose-Screenshot-flash-and-background-colors.patch @@ -1,7 +1,7 @@ -From 54b0d34c2391fb034ddc0a507e216c2923febb2e Mon Sep 17 00:00:00 2001 +From f01c615403bc59aa8a436aa16902cb3b1b703fd4 Mon Sep 17 00:00:00 2001 From: ezio84 Date: Tue, 7 Mar 2017 23:33:40 +0100 -Subject: [PATCH 45/47] Expose Screenshot flash and background colors +Subject: [PATCH 45/49] Expose Screenshot flash and background colors Keep in mind that Background color already gets 0.5f opacity in the GlobalScreenshot class (BACKGROUND_ALPHA with some math). diff --git a/patches/frameworks/base/0046-Themes-Expose-Keyboard-Shortcuts-Dialog.patch b/patches/frameworks/base/0046-Themes-Expose-Keyboard-Shortcuts-Dialog.patch index f5a9b4e..cfccc99 100644 --- a/patches/frameworks/base/0046-Themes-Expose-Keyboard-Shortcuts-Dialog.patch +++ b/patches/frameworks/base/0046-Themes-Expose-Keyboard-Shortcuts-Dialog.patch @@ -1,7 +1,7 @@ -From 56501aeb001e8575f9819c211eef38721d8e29a7 Mon Sep 17 00:00:00 2001 +From 62f470368f4a33c60517b494e3f2ebd834c6d65c Mon Sep 17 00:00:00 2001 From: Bryan Owens Date: Thu, 30 Mar 2017 13:30:04 -0500 -Subject: [PATCH 46/47] Themes: Expose Keyboard Shortcuts Dialog +Subject: [PATCH 46/49] Themes: Expose Keyboard Shortcuts Dialog Change-Id: I84d3e57fe8c42d79ff6e0b6502cb6cd49aaaf91b Signed-off-by: Bryan Owens diff --git a/patches/frameworks/base/0047-Hold-volume-up-during-boot-to-disable-all-overlays.patch b/patches/frameworks/base/0047-Hold-volume-up-during-boot-to-disable-all-overlays.patch index d20150f..2ac61d2 100644 --- a/patches/frameworks/base/0047-Hold-volume-up-during-boot-to-disable-all-overlays.patch +++ b/patches/frameworks/base/0047-Hold-volume-up-during-boot-to-disable-all-overlays.patch @@ -1,7 +1,7 @@ -From 590ff215ebbf88799b01715d155d05e6116df082 Mon Sep 17 00:00:00 2001 +From 1217d520841f4ac438685b718a6968b61a8bde6f Mon Sep 17 00:00:00 2001 From: George G Date: Sat, 11 Mar 2017 14:11:54 +0200 -Subject: [PATCH 47/47] Hold "volume up" during boot to disable all overlays +Subject: [PATCH 47/49] Hold "volume up" during boot to disable all overlays Following the way "safe mode" was coded, you can now long press "volume up" during boot to automatically disable all overlays diff --git a/patches/frameworks/base/0048-Separate-tile-label-color-from-icon-drawable-color.patch b/patches/frameworks/base/0048-Separate-tile-label-color-from-icon-drawable-color.patch new file mode 100644 index 0000000..275c2c2 --- /dev/null +++ b/patches/frameworks/base/0048-Separate-tile-label-color-from-icon-drawable-color.patch @@ -0,0 +1,44 @@ +From d83c68696b4df8be3df704e9df0a882ca654577e Mon Sep 17 00:00:00 2001 +From: bigrushdog +Date: Tue, 11 Apr 2017 01:01:04 -0700 +Subject: [PATCH 48/49] Separate tile label color from icon drawable color + +Sometimes it is desirable to override default icon tinting with +transparent tinting. However, doing so makes the label text +invisible. Allow themes to specify their own label color in this +case. + +Change-Id: I9af2002929e41144469050a864c0eca243e32339 +--- + packages/SystemUI/res/values/projekt_colors.xml | 2 ++ + packages/SystemUI/src/com/android/systemui/qs/external/CustomTile.java | 3 ++- + 2 files changed, 4 insertions(+), 1 deletion(-) + +diff --git a/packages/SystemUI/res/values/projekt_colors.xml b/packages/SystemUI/res/values/projekt_colors.xml +index 84e3b75505b..8fd3fc3039d 100644 +--- a/packages/SystemUI/res/values/projekt_colors.xml ++++ b/packages/SystemUI/res/values/projekt_colors.xml +@@ -37,4 +37,6 @@ + + @android:color/white + @android:color/black ++ ++ @color/qs_tile_tint_unavailable + +diff --git a/packages/SystemUI/src/com/android/systemui/qs/external/CustomTile.java b/packages/SystemUI/src/com/android/systemui/qs/external/CustomTile.java +index dfd2b77f7e7..5d1958ea25d 100644 +--- a/packages/SystemUI/src/com/android/systemui/qs/external/CustomTile.java ++++ b/packages/SystemUI/src/com/android/systemui/qs/external/CustomTile.java +@@ -307,7 +307,8 @@ public class CustomTile extends QSTile implements TileChangeListen + state.label = mTile.getLabel(); + if (tileState == Tile.STATE_UNAVAILABLE) { + state.label = new SpannableStringBuilder().append(state.label, +- new ForegroundColorSpan(color), ++ new ForegroundColorSpan( ++ mContext.getColor(R.color.qs_tile_label_tint_unavailable)), + SpannableStringBuilder.SPAN_INCLUSIVE_INCLUSIVE); + } + if (mTile.getContentDescription() != null) { +-- +2.11.1 + diff --git a/patches/frameworks/base/0049-Themes-Allow-volume-slider-and-thumb-to-work-with-cu.patch b/patches/frameworks/base/0049-Themes-Allow-volume-slider-and-thumb-to-work-with-cu.patch new file mode 100644 index 0000000..2dc91ef --- /dev/null +++ b/patches/frameworks/base/0049-Themes-Allow-volume-slider-and-thumb-to-work-with-cu.patch @@ -0,0 +1,37 @@ +From ec0e11dde27843dfbd8120beb270e5ff09fd45b2 Mon Sep 17 00:00:00 2001 +From: Randall Rushing +Date: Sun, 10 Jan 2016 12:09:58 -0800 +Subject: [PATCH 49/49] Themes: Allow volume slider and thumb to work with + custom images. + +Credit Bryan Owens for giving guidance on what was needed. + +Change-Id: I862008d1b433666333a4c77904b44a05e70472a2 +--- + packages/SystemUI/src/com/android/systemui/volume/VolumeDialog.java | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/packages/SystemUI/src/com/android/systemui/volume/VolumeDialog.java b/packages/SystemUI/src/com/android/systemui/volume/VolumeDialog.java +index 4d57b452427..983d2683e01 100644 +--- a/packages/SystemUI/src/com/android/systemui/volume/VolumeDialog.java ++++ b/packages/SystemUI/src/com/android/systemui/volume/VolumeDialog.java +@@ -29,6 +29,7 @@ import android.content.res.Configuration; + import android.content.res.Resources; + import android.graphics.Color; + import android.graphics.PixelFormat; ++import android.graphics.PorterDuff; + import android.graphics.Rect; + import android.graphics.drawable.AnimatedVectorDrawable; + import android.graphics.drawable.ColorDrawable; +@@ -387,6 +388,8 @@ public class VolumeDialog implements TunerService.Tunable { + row.header.setId(20 * row.stream); + mSpTexts.add(row.header); + row.slider = (SeekBar) row.view.findViewById(R.id.volume_row_slider); ++ row.slider.setProgressTintMode(PorterDuff.Mode.SRC_ATOP); ++ row.slider.setThumbTintMode(PorterDuff.Mode.SRC_ATOP); + row.slider.setOnSeekBarChangeListener(new VolumeSeekBarChangeListener(row)); + row.anim = null; + row.cachedShowHeaders = VolumePrefs.DEFAULT_SHOW_HEADERS; +-- +2.11.1 +