From 5db0f2338eb1c43f34b95caa0986843f33fff0c7 Mon Sep 17 00:00:00 2001 From: LuK1337 Date: Sat, 20 May 2017 19:38:34 +0200 Subject: [PATCH] Update OMS patches --- ...agging-resources-as-OK-to-overlay-1-.patch | 4 +- ...oduce-the-OverlayManagerService-2-11.patch | 4 +- ...-OverlayManagerService-into-framewor.patch | 4 +- ..._REPLACING-correctly-in-ACTION_PACKA.patch | 4 +- ...press-print-for-padded-resources-5-1.patch | 4 +- ...mory-leak-during-idmap-creation-6-11.patch | 4 +- ...-N-installd-add-command-rmidmap-7-11.patch | 4 +- ...able-Zygote-preloaded-drawables-8-11.patch | 4 +- ...ce-on-boot-through-OverlayManagerSer.patch | 4 +- ...force-code-policy-limiting-overlay-i.patch | 4 +- ...-multi-target-enable-disable-and-dis.patch | 4 +- ...-dynamic-theme-BootAnimation-support.patch | 4 +- ...tras-Add-dynamic-theme-fonts-support.patch | 4 +- ...rvice-Allow-system-effect-sounds-to-.patch | 4 +- ...mes-Expose-resolver-hardcoded-colors.patch | 4 +- ...ersive-cling-colors-to-be-fully-them.patch | 4 +- ...-Permission-Icons-to-be-fully-themed.patch | 4 +- ...low-Navbar-ripple-color-to-be-themed.patch | 4 +- ...QS-edit-item-decoration-background-c.patch | 4 +- ...lpha-for-notification-shade-bg-color.patch | 4 +- ...se-various-QuickSettings-text-colors.patch | 4 +- ...pose-a-bool-to-disable-dynamic-color.patch | 4 +- ...amic-colors-bool-compatible-with-OMS.patch | 4 +- ...-of-doze-notification-color-inversio.patch | 4 +- ...tible-Ambient-notification-inversion.patch | 4 +- ...cale-even-if-invert-boolean-is-false.patch | 4 +- ...Use-own-drawables-for-QS-expand-icon.patch | 4 +- ...onsState-add-filter-for-Substratum-o.patch | 4 +- ...onsState-add-filter-for-Substratum-i.patch | 4 +- .../base/0030-Themes-Expose-QS-battery.patch | 4 +- ...DIFY_OVERLAYS-permission-for-user-ap.patch | 4 +- ...032-SystemUI-Expose-switch-bar-title.patch | 4 +- ...3-Expose-external-qs-tile-tint-color.patch | 4 +- ...hics-ADB-N-icon-compatible-with-OMS7.patch | 4 +- ...ernal-QS-tiles-tint-mode-to-SRC_ATOP.patch | 4 +- ...eyguard-affordance-circle-background.patch | 4 +- ...t-add-optional-findContrastColor-alg.patch | 4 +- ...cted-broadcast-for-Masquerade-events.patch | 4 +- ...curity-Update-Preparation-for-March-.patch | 4 +- ...otation-to-MODIFY_OVERLAYS-permissio.patch | 4 +- ...ialogs-own-set-of-volume-icons-for-t.patch | 4 +- ...rize-all-calling-packages-by-Masquer.patch | 4 +- ...tected-broadcast-for-Masquerade-even.patch | 4 +- ...emeSafety-Introduce-App-Crash-Intent.patch | 4 +- ...reenshot-flash-and-background-colors.patch | 4 +- ...mes-Expose-Keyboard-Shortcuts-Dialog.patch | 4 +- ...-during-boot-to-disable-all-overlays.patch | 4 +- ...label-color-from-icon-drawable-color.patch | 4 +- ...ume-slider-and-thumb-to-work-with-cu.patch | 4 +- ...ed-broadcast-for-app-crash-broadcast.patch | 4 +- ...de-and-files-under-data-system-theme.patch | 4 +- .../0052-Fix-permissions-for-CTS-1-2.patch | 65 +++++++++++++++++++ 52 files changed, 167 insertions(+), 102 deletions(-) create mode 100644 patches/frameworks/base/0052-Fix-permissions-for-CTS-1-2.patch 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 4a9c4c7..3d9f7bc 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 cac5aabf6609811b15007aabdce99e417f89a57f Mon Sep 17 00:00:00 2001 +From c3ec27af602ce34f0668257fbefa824ece5354e7 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/51] OMS7-N: Support tagging resources as OK to overlay +Subject: [PATCH 01/52] 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 cbe8cb1..3b7e106 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 b0a270f40fddc0fce7b725e690d27b9a174a410a Mon Sep 17 00:00:00 2001 +From 161f9e7e87c7d76319c9cc595689d24f9f179def 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/51] OMS7-N: Introduce the OverlayManagerService [2/11] +Subject: [PATCH 02/52] 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 e8a72d7..23bed2c 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 40e0f1d244f58825e4080ca4f7617008501d176b Mon Sep 17 00:00:00 2001 +From 1204cbca47650470e824253a54691f7dace7a9e4 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/51] OMS7-N: Integrate OverlayManagerService into framework +Subject: [PATCH 03/52] 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 d14d5e8..2c3b1a9 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 503f16b69bb125feab7f22d85f3a553a67537c9f Mon Sep 17 00:00:00 2001 +From 9040429afc27a21a224e7d267c50fffe5fe6fc3b 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/51] OMS7-N: Set EXTRA_REPLACING correctly in +Subject: [PATCH 04/52] 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 7fd9a30..1de838a 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 620d5f4e0a704e8ee7f34689cd8948d010c14ada Mon Sep 17 00:00:00 2001 +From 6fd6a6fcd14dced2107f67e0f79e90cf2e663472 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/51] OMS7-N: idmap: suppress print for padded resources +Subject: [PATCH 05/52] 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 23c557c..b20a955 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 2ff8bd978467f93218062655d5a073107667760e Mon Sep 17 00:00:00 2001 +From 8cd407e5c0fb8390c7a9cfe2b4833d3fd88f3f08 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/51] OMS7-N: Fix memory leak during idmap creation [6/11] +Subject: [PATCH 06/52] 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 cc73456..4e6e00c 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 3dab411e25db5dd773ed1a50ae2dfaf1e3755c67 Mon Sep 17 00:00:00 2001 +From 9888729da6b67aba80d24c95bd41ab4da286194d 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/51] OMS7-N: installd: add command 'rmidmap' [7/11] +Subject: [PATCH 07/52] 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 526bb03..4bf40f1 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 87343cd4bdf5fa1433a809f5268af1e0d832ad83 Mon Sep 17 00:00:00 2001 +From 887a6f381359eab9f4e97968726dadbc58dbcf45 Mon Sep 17 00:00:00 2001 From: Josh Guilfoyle Date: Wed, 26 Jan 2011 23:28:43 -0800 -Subject: [PATCH 08/51] OMS7-N: Disable Zygote preloaded drawables [8/11] +Subject: [PATCH 08/52] 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 d009e75..767d21e 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 911008bdc1076a97cfce8bec4ee6f208e7a0228d Mon Sep 17 00:00:00 2001 +From 9a9886760599ddea992df73d1cc285336627455b Mon Sep 17 00:00:00 2001 From: Nicholas Chum Date: Sun, 19 Jun 2016 10:37:13 -0400 -Subject: [PATCH 09/51] OMS7-N: Persistence on boot through +Subject: [PATCH 09/52] 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 8057a30..42bd3c7 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 7b2cd7ad904ddf0e52ab5d61e01cf23634281a77 Mon Sep 17 00:00:00 2001 +From fdb03b65447173191e5572be7a9e4c7d7e488411 Mon Sep 17 00:00:00 2001 From: Nicholas Chum Date: Thu, 27 Oct 2016 07:08:00 +0200 -Subject: [PATCH 10/51] OMS7-N: Do not enforce code policy limiting overlay +Subject: [PATCH 10/52] 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 c9d907f..24a7813 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 fb4fb797410b3bb18ae598340c8f881996e74b5c Mon Sep 17 00:00:00 2001 +From ad530e4d84bd08402c41c1c31e90c560fc7def17 Mon Sep 17 00:00:00 2001 From: Jacob McSwain Date: Sun, 26 Jun 2016 15:21:52 -0500 -Subject: [PATCH 11/51] OMS7-N: Implement multi-target enable/disable and +Subject: [PATCH 11/52] 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 2b04b47..fefeedf 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 1a43c156ad79ee0a6aac98ac1887375a4f90f813 Mon Sep 17 00:00:00 2001 +From 84341a2a66d0da9b81eec61cc0941129faf41f35 Mon Sep 17 00:00:00 2001 From: 0xD34D Date: Mon, 20 Jun 2016 22:59:48 +0300 -Subject: [PATCH 12/51] N-Extras: Add dynamic theme BootAnimation support +Subject: [PATCH 12/52] 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 a97e10a..0c954d4 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 dbd4ff78c46c75996f07f1d7b55a83f999ff3508 Mon Sep 17 00:00:00 2001 +From 96539a5ba3cb35672ba30ae979967bc2d62e9b78 Mon Sep 17 00:00:00 2001 From: 0xD34D Date: Wed, 22 Jun 2016 23:54:23 +0300 -Subject: [PATCH 13/51] N-Extras: Add dynamic theme fonts support +Subject: [PATCH 13/52] 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 34feb45..0a7932b 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 650ad8acd15b05618aad8f11e81f27a58c359e83 Mon Sep 17 00:00:00 2001 +From 5df3d37aab9fc9dba6c7438d8277ae28f6e87f1c Mon Sep 17 00:00:00 2001 From: Nicholas Chum Date: Sun, 17 Jul 2016 17:56:40 -0400 -Subject: [PATCH 14/51] N-Extras: AudioService: Allow system effect sounds to +Subject: [PATCH 14/52] 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 75589e6..9af4313 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 a5d9a1ed655b898a16b5ea863a5a2e585ef3b1e1 Mon Sep 17 00:00:00 2001 +From c0c03d1360870f14ac2d9913a1d3ada307d103a0 Mon Sep 17 00:00:00 2001 From: Dave Kover Date: Fri, 9 Dec 2016 10:47:17 -0700 -Subject: [PATCH 15/51] Themes: Expose resolver hardcoded colors +Subject: [PATCH 15/52] 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 93d617b..3a382c7 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 ad17e84c92497c10cb38a0b1798c56025f118f0c Mon Sep 17 00:00:00 2001 +From 5d245eab21cad68922c97d05d7e1b7d52aa2d8e0 Mon Sep 17 00:00:00 2001 From: Nicholas Chum Date: Tue, 17 Nov 2015 18:57:11 -0500 -Subject: [PATCH 16/51] Themes: Allow Immersive cling colors to be fully themed +Subject: [PATCH 16/52] 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 b4dd46f..680b95e 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 6807f0be728aee07a0b78f1acca9b02b23080494 Mon Sep 17 00:00:00 2001 +From f742351f6a2090623c35f011477efd2fa4b619f2 Mon Sep 17 00:00:00 2001 From: Nicholas Chum Date: Mon, 23 Nov 2015 23:49:15 -0500 -Subject: [PATCH 17/51] Themes: Allow Permission Icons to be fully themed +Subject: [PATCH 17/52] 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 ea6ca60..9d15d02 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 cea764e7449abf378a053afd32c69e8106d87ee1 Mon Sep 17 00:00:00 2001 +From e937cdde3e25cf094ac7f3694c6464906009fc9b Mon Sep 17 00:00:00 2001 From: Dave Kover Date: Thu, 14 Apr 2016 10:19:13 +0700 -Subject: [PATCH 18/51] Themes: Allow Navbar ripple color to be themed +Subject: [PATCH 18/52] 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 005e7ac..e1aa758 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 4b3be4d4c3be1d7ec0d14154102e4df4d212852b Mon Sep 17 00:00:00 2001 +From 82d3b65b8ffde1187a55d38f9b638e8ba54ea674 Mon Sep 17 00:00:00 2001 From: Ivan Iskandar Date: Sun, 18 Sep 2016 21:33:18 +0700 -Subject: [PATCH 19/51] SystemUI: Expose QS edit item decoration background +Subject: [PATCH 19/52] 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 e68065d..cd575ec 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 00722b38ae2b5f0d92d671143298c22d2d30a09b Mon Sep 17 00:00:00 2001 +From 03e756392ddd20df83fb1ef880c860efc2145c07 Mon Sep 17 00:00:00 2001 From: Simao Gomes Viana Date: Fri, 25 Nov 2016 20:50:29 +0100 -Subject: [PATCH 20/51] Allow custom alpha for notification shade bg color +Subject: [PATCH 20/52] 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 b2be710..c8d66cd 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 908846458df2967e828295e9e46a07fae702002e Mon Sep 17 00:00:00 2001 +From 304bea57931fdfc8fe5abd479fb62b2661d585b8 Mon Sep 17 00:00:00 2001 From: "Niklas Schnettler (Sh4dowSoul)" Date: Wed, 5 Oct 2016 18:07:43 +0200 -Subject: [PATCH 21/51] Themes: Expose various QuickSettings text colors +Subject: [PATCH 21/52] 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 a1cb546..5c35277 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 ce14540a66fda7c777e2ed5f4445bc9ad9fa8a3f Mon Sep 17 00:00:00 2001 +From c17f896a39b5279d580160eba27fc14273b732be Mon Sep 17 00:00:00 2001 From: Nicholas Chum Date: Sat, 27 Aug 2016 10:56:46 -0400 -Subject: [PATCH 22/51] Notifications: Expose a bool to disable dynamic colors +Subject: [PATCH 22/52] 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 e2749c5..8dfb075 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 24b75e5b6cab51c95fed697526d6467e21a09b85 Mon Sep 17 00:00:00 2001 +From a3194519bf250edc0b2209910e96268136b17f0a Mon Sep 17 00:00:00 2001 From: George G Date: Mon, 14 Nov 2016 14:49:47 +0200 -Subject: [PATCH 23/51] Notification dynamic colors bool compatible with OMS7 +Subject: [PATCH 23/52] 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 6f88a0f..af74e42 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 f31de6b641f82b1a5c1f66d8a4cac6277c08ccfd Mon Sep 17 00:00:00 2001 +From a6a80eb4dcd9b9d4c0067f9887cdba687aa3b466 Mon Sep 17 00:00:00 2001 From: Daniel Koman Date: Fri, 17 Apr 2015 11:56:28 -0600 -Subject: [PATCH 24/51] Allow prevention of doze notification color inversion +Subject: [PATCH 24/52] 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 9cf3b7e..483b28d 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 22a0a5d61df0c767679a35fae9c8da989aad0689 Mon Sep 17 00:00:00 2001 +From 38f4c79e1f3f76acc34d45c12c4263a9f45f7b14 Mon Sep 17 00:00:00 2001 From: George G Date: Mon, 14 Nov 2016 14:44:17 +0200 -Subject: [PATCH 25/51] OMS7 compatible 'Ambient notification inversion' +Subject: [PATCH 25/52] 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 53ba70f..5a5d63f 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 c9db2d9aef146ee266ee205f843599d436a8b1f9 Mon Sep 17 00:00:00 2001 +From 7b0dc0c41d3c390fbb4e745093b06903492153b4 Mon Sep 17 00:00:00 2001 From: Daniel Koman Date: Wed, 28 Sep 2016 15:28:26 +0200 -Subject: [PATCH 26/51] doze: allow grayscale even if invert boolean is false +Subject: [PATCH 26/52] 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 d3e4aa2..e323050 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 6170dc1d0ca0ff7ca70c8d1448f7f4f1f7f04fca Mon Sep 17 00:00:00 2001 +From 615256ab9ad2c7211871fc76e165ce0b71f59d77 Mon Sep 17 00:00:00 2001 From: Ivan Iskandar Date: Mon, 5 Dec 2016 19:00:04 +0700 -Subject: [PATCH 27/51] SystemUI: Use own drawables for QS expand icon +Subject: [PATCH 27/52] 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 f92fd85..2bfd120 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 774616b16069831a611c90e9651801d5620cd8c3 Mon Sep 17 00:00:00 2001 +From b9dbdffecff661ecba1e5789069f98b87f96b721 Mon Sep 17 00:00:00 2001 From: George G Date: Mon, 4 Jul 2016 06:25:15 +0300 -Subject: [PATCH 28/51] OMS7-N: ApplicationsState: add filter for Substratum +Subject: [PATCH 28/52] 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 1c38745..a79809b 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 5060ee357331df3ad6667ee726725541e89991f2 Mon Sep 17 00:00:00 2001 +From cbffa064acf0befa6ec53a4be95c226196c50b50 Mon Sep 17 00:00:00 2001 From: Kuba Schenk Date: Thu, 1 Dec 2016 21:48:26 +0100 -Subject: [PATCH 29/51] OMS7-N: ApplicationsState: add filter for Substratum +Subject: [PATCH 29/52] 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 b13d1b7..ee6f37e 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 36677ae383f8318ef960dbe3220830d1a6829b75 Mon Sep 17 00:00:00 2001 +From 9c99050338fc517592a96f6cf95f314a7bb6a5fd Mon Sep 17 00:00:00 2001 From: Abdulwahab Isam Date: Fri, 7 Oct 2016 08:30:11 +0300 -Subject: [PATCH 30/51] Themes: Expose QS battery +Subject: [PATCH 30/52] 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 5701959..fec3da7 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 4090a8e63ec61c9dfc9151ce0dd654f286029e78 Mon Sep 17 00:00:00 2001 +From 7a58ee63e8e08b9160967bb3bd2ab1e158b1c181 Mon Sep 17 00:00:00 2001 From: bigrushdog Date: Mon, 19 Dec 2016 04:33:31 -0800 -Subject: [PATCH 31/51] OMS: Introduce MODIFY_OVERLAYS permission for user apps +Subject: [PATCH 31/52] 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 a554943..4787b92 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 f85e261093381b27cbb4acb65d763dcc37175488 Mon Sep 17 00:00:00 2001 +From a2b3054203b8b452ccf4a508351604f7a86f1f1e Mon Sep 17 00:00:00 2001 From: daveyannihilation Date: Sun, 1 Jan 2017 01:47:53 -0700 -Subject: [PATCH 32/51] SystemUI: Expose switch bar title +Subject: [PATCH 32/52] 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 33bcc02..ddf8507 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 f0d5cc82780e63c6e1e93f71332f6171f92f10b2 Mon Sep 17 00:00:00 2001 +From 07f21698d35fac190b35a09f9b4b374403a98e0d Mon Sep 17 00:00:00 2001 From: Alex Cruz Date: Tue, 24 Jan 2017 11:14:46 +0100 -Subject: [PATCH 33/51] Expose external qs tile tint color +Subject: [PATCH 33/52] 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 94d92e3..4cd445c 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 2daf3d3b923694487c66ac83a2ef7572ba50f479 Mon Sep 17 00:00:00 2001 +From ad49dcb1ba0eac143b83d618e5542afd8a968320 Mon Sep 17 00:00:00 2001 From: George G Date: Thu, 2 Feb 2017 01:52:27 +0200 -Subject: [PATCH 34/51] graphics: ADB "N" icon compatible with OMS7 +Subject: [PATCH 34/52] 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 e7f74a0..294f8c7 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 cd7ad874b38bf22e09d09cdafd26aa39b1d68fde Mon Sep 17 00:00:00 2001 +From 8545dde811a6ae7606c8609183c52cb6c2a04eea Mon Sep 17 00:00:00 2001 From: Alex Cruz Date: Sat, 4 Feb 2017 14:13:26 +0100 -Subject: [PATCH 35/51] Set external QS tiles tint mode to SRC_ATOP +Subject: [PATCH 35/52] 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 99d0db3..25076a2 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 b04342523f7ea0eea0db19e9e3f17d5db4155eee Mon Sep 17 00:00:00 2001 +From e2a145a64bdf11724f74569154eb2ac346aa1024 Mon Sep 17 00:00:00 2001 From: Branden M Date: Wed, 1 Feb 2017 22:22:45 -0600 -Subject: [PATCH 36/51] Themes: Expose Keyguard affordance circle background +Subject: [PATCH 36/52] 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 8ae1048..148d8fa 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 9f5d37412ea083d2c2d62a0a7c57ecc9e69b8660 Mon Sep 17 00:00:00 2001 +From f5e23395c9f33b170de93f30988f7de225de2922 Mon Sep 17 00:00:00 2001 From: SpiritCroc Date: Sun, 5 Feb 2017 12:00:54 +0100 -Subject: [PATCH 37/51] Notification tint: add optional findContrastColor +Subject: [PATCH 37/52] 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 758ed1a..98f9f26 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 f43fa833a184ffa48277e0909ec879af0b37d31f Mon Sep 17 00:00:00 2001 +From 60ea856a501735943937fb353bbbc2af89d0bb2d Mon Sep 17 00:00:00 2001 From: bigrushdog Date: Sat, 14 Jan 2017 23:33:38 -0800 -Subject: [PATCH 38/51] Add a protected broadcast for Masquerade events +Subject: [PATCH 38/52] 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 1d241d9..4a616bb 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 10888593d546915a2981f4051f098dd5af72f556 Mon Sep 17 00:00:00 2001 +From d8e6331f2ed5d17c6bd791a0617cec4d33f6e22b Mon Sep 17 00:00:00 2001 From: Nicholas Chum Date: Wed, 22 Feb 2017 22:55:15 -0500 -Subject: [PATCH 39/51] OMS7: Rootless Security Update Preparation for March +Subject: [PATCH 39/52] 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 cd0bfd5..0bf1a9a 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 a0322158bdb31d636ac0146166a2ea5ca909bc64 Mon Sep 17 00:00:00 2001 +From b420f73f3d68e2b2ee48596d22fb311565631450 Mon Sep 17 00:00:00 2001 From: Evan Anderson Date: Mon, 27 Feb 2017 15:16:18 -0500 -Subject: [PATCH 40/51] OMS: Add hide annotation to MODIFY_OVERLAYS permission +Subject: [PATCH 40/52] 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 7fedddd..483cf3a 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 5c8f9969cd9744c01b5e6ef3e93b3d7fe3483ad3 Mon Sep 17 00:00:00 2001 +From 7990013925c0e8bc16949dae08e3fa34633df805 Mon Sep 17 00:00:00 2001 From: Bryan Owens Date: Mon, 27 Feb 2017 19:06:31 -0600 -Subject: [PATCH 41/51] FWB: Give power dialogs own set of volume icons for +Subject: [PATCH 41/52] 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 5d1122b..565c1c0 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 4dda4b3cfd6a8b62363cc5e1b9fdf90eec10277b Mon Sep 17 00:00:00 2001 +From 7ada09c7e8fbfc212badd6f9292a8d46fbb1592c Mon Sep 17 00:00:00 2001 From: George G Date: Sat, 25 Feb 2017 17:32:18 +0200 -Subject: [PATCH 42/51] base: Force authorize all calling packages by +Subject: [PATCH 42/52] 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 fa731c1..13214d8 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 4e243f0353a0bbf7df68b2e51cf4686533f1d1d5 Mon Sep 17 00:00:00 2001 +From 3bc75e2ce9ef65b50d939b3d7d484dd03235b3a2 Mon Sep 17 00:00:00 2001 From: Nathan Chancellor Date: Sat, 4 Mar 2017 00:35:08 +0100 -Subject: [PATCH 43/51] Revert "Add a protected broadcast for Masquerade +Subject: [PATCH 43/52] 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 b94333d..0d69890 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 2c5b8dd6e6ce0ea525dc2444315989817652da2c Mon Sep 17 00:00:00 2001 +From 972584c946a17390ef9ed7a9d41dfe93a1b49e81 Mon Sep 17 00:00:00 2001 From: Ivan Iskandar Date: Thu, 9 Mar 2017 13:28:22 +0100 -Subject: [PATCH 44/51] ThemeSafety: Introduce App Crash Intent +Subject: [PATCH 44/52] 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 138a586..8a477a2 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 2dd4c5237ca09c875edf5df2496ab2edadf69b49 Mon Sep 17 00:00:00 2001 +From 638955787d64de9f927a9b906250caf2f97dd198 Mon Sep 17 00:00:00 2001 From: ezio84 Date: Tue, 7 Mar 2017 23:33:40 +0100 -Subject: [PATCH 45/51] Expose Screenshot flash and background colors +Subject: [PATCH 45/52] 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 bbbd8fe..8196681 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 69d5cad3677920b89fef6bb000b2f2c54dccb5ef Mon Sep 17 00:00:00 2001 +From a8ba4a605a4ce21555d03d2f2ae2889eb43fe2ef Mon Sep 17 00:00:00 2001 From: Bryan Owens Date: Thu, 30 Mar 2017 13:30:04 -0500 -Subject: [PATCH 46/51] Themes: Expose Keyboard Shortcuts Dialog +Subject: [PATCH 46/52] 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 32c820a..2a70111 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 4c73aa4be895400225cd6c0d7c849e7fddc4d56d Mon Sep 17 00:00:00 2001 +From 0433715b53cee641e910d227f0dd1f79c92fcaa0 Mon Sep 17 00:00:00 2001 From: George G Date: Sat, 11 Mar 2017 14:11:54 +0200 -Subject: [PATCH 47/51] Hold "volume up" during boot to disable all overlays +Subject: [PATCH 47/52] 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 index 9ead19d..d9c1c85 100644 --- 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 @@ -1,7 +1,7 @@ -From 5d7c0389a211057bdbe0e80d85b86f4c620cd9af Mon Sep 17 00:00:00 2001 +From 7fdff8fb9ed8a74716788356ccc6ccf9fb85439f Mon Sep 17 00:00:00 2001 From: bigrushdog Date: Tue, 11 Apr 2017 01:01:04 -0700 -Subject: [PATCH 48/51] Separate tile label color from icon drawable color +Subject: [PATCH 48/52] 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 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 index 8c21f78..738f4bc 100644 --- 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 @@ -1,7 +1,7 @@ -From 69d396aba2f939f77677b6a81b5343bd7b37b2c1 Mon Sep 17 00:00:00 2001 +From ffacc693d50d0b2a8521593035e66eb21ea2bd50 Mon Sep 17 00:00:00 2001 From: Randall Rushing Date: Sun, 10 Jan 2016 12:09:58 -0800 -Subject: [PATCH 49/51] Themes: Allow volume slider and thumb to work with +Subject: [PATCH 49/52] Themes: Allow volume slider and thumb to work with custom images. Credit Bryan Owens for giving guidance on what was needed. diff --git a/patches/frameworks/base/0050-Add-protected-broadcast-for-app-crash-broadcast.patch b/patches/frameworks/base/0050-Add-protected-broadcast-for-app-crash-broadcast.patch index 2a671fb..507d4f1 100644 --- a/patches/frameworks/base/0050-Add-protected-broadcast-for-app-crash-broadcast.patch +++ b/patches/frameworks/base/0050-Add-protected-broadcast-for-app-crash-broadcast.patch @@ -1,7 +1,7 @@ -From b6ba867fd39e4b01ffadfedca70572febf899aad Mon Sep 17 00:00:00 2001 +From 7d23de6207095a40831683c4b88d2e22b0901f65 Mon Sep 17 00:00:00 2001 From: Ivan Iskandar Date: Tue, 18 Apr 2017 11:16:21 +0200 -Subject: [PATCH 50/51] Add protected broadcast for app crash broadcast +Subject: [PATCH 50/52] Add protected broadcast for app crash broadcast Change-Id: I85a1d73343df817944be007c0c696c05377a586d --- diff --git a/patches/frameworks/base/0051-OMS-StrictMode-and-files-under-data-system-theme.patch b/patches/frameworks/base/0051-OMS-StrictMode-and-files-under-data-system-theme.patch index 0a643a5..317f09d 100644 --- a/patches/frameworks/base/0051-OMS-StrictMode-and-files-under-data-system-theme.patch +++ b/patches/frameworks/base/0051-OMS-StrictMode-and-files-under-data-system-theme.patch @@ -1,7 +1,7 @@ -From a1519b0905027158ff105f490a6bb6c246bd2c1d Mon Sep 17 00:00:00 2001 +From 744d0ea3ce3115ed6f1ae32bcb98511cdd41cf74 Mon Sep 17 00:00:00 2001 From: mickybart Date: Sat, 19 Nov 2016 19:05:05 -0500 -Subject: [PATCH 51/51] OMS: StrictMode and files under /data/system/theme/ +Subject: [PATCH 51/52] OMS: StrictMode and files under /data/system/theme/ Themes are using /data/system/theme/ to push some files like LowBattery.ogg (audio notification) When the device battery trigger the low battery state, the sound is not played due diff --git a/patches/frameworks/base/0052-Fix-permissions-for-CTS-1-2.patch b/patches/frameworks/base/0052-Fix-permissions-for-CTS-1-2.patch new file mode 100644 index 0000000..4ea2551 --- /dev/null +++ b/patches/frameworks/base/0052-Fix-permissions-for-CTS-1-2.patch @@ -0,0 +1,65 @@ +From 4aa32215301dcd43d8c25996f41c05d1ce358fbc Mon Sep 17 00:00:00 2001 +From: Shane Francis +Date: Fri, 12 May 2017 14:41:11 +0100 +Subject: [PATCH 52/52] Fix permissions for CTS [1/2] + + * Rename old MODIFY_OVERLAYS to oms.permission.MODIFY_OVERLAYS + * Restrict MODIFY_OVERLAYS to system or signature + +Change-Id: I094ef303b7026342459d4981677837835f500e22 +--- + core/res/AndroidManifest.xml | 4 ++-- + services/core/java/com/android/server/om/OverlayManagerService.java | 6 ++++-- + 2 files changed, 6 insertions(+), 4 deletions(-) + +diff --git a/core/res/AndroidManifest.xml b/core/res/AndroidManifest.xml +index 9062a7162fd..01e6a6e13a4 100644 +--- a/core/res/AndroidManifest.xml ++++ b/core/res/AndroidManifest.xml +@@ -3173,10 +3173,10 @@ + + +- ++ android:protectionLevel="signatureOrSystem" /> + +