-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?= <marten.kongstad@sonymobile.com>
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
-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?= <marten.kongstad@sonymobile.com>
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
-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?= <marten.kongstad@sonymobile.com>
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.
-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?= <marten.kongstad@sonymobile.com>
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
-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?= <marten.kongstad@sonymobile.com>
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
-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?= <marten.kongstad@sonymobile.com>
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.
-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?= <marten.kongstad@sonymobile.com>
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
-From 87343cd4bdf5fa1433a809f5268af1e0d832ad83 Mon Sep 17 00:00:00 2001
+From 887a6f381359eab9f4e97968726dadbc58dbcf45 Mon Sep 17 00:00:00 2001
From: Josh Guilfoyle <Josh.Guilfoyle@T-Mobile.com>
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
-From 911008bdc1076a97cfce8bec4ee6f208e7a0228d Mon Sep 17 00:00:00 2001
+From 9a9886760599ddea992df73d1cc285336627455b Mon Sep 17 00:00:00 2001
From: Nicholas Chum <nicholaschum@gmail.com>
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
-From 7b2cd7ad904ddf0e52ab5d61e01cf23634281a77 Mon Sep 17 00:00:00 2001
+From fdb03b65447173191e5572be7a9e4c7d7e488411 Mon Sep 17 00:00:00 2001
From: Nicholas Chum <nicholaschum@gmail.com>
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
-From fb4fb797410b3bb18ae598340c8f881996e74b5c Mon Sep 17 00:00:00 2001
+From ad530e4d84bd08402c41c1c31e90c560fc7def17 Mon Sep 17 00:00:00 2001
From: Jacob McSwain <jacob.a.mcswain@gmail.com>
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
-From 1a43c156ad79ee0a6aac98ac1887375a4f90f813 Mon Sep 17 00:00:00 2001
+From 84341a2a66d0da9b81eec61cc0941129faf41f35 Mon Sep 17 00:00:00 2001
From: 0xD34D <clark@scheffsblend.com>
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
-From dbd4ff78c46c75996f07f1d7b55a83f999ff3508 Mon Sep 17 00:00:00 2001
+From 96539a5ba3cb35672ba30ae979967bc2d62e9b78 Mon Sep 17 00:00:00 2001
From: 0xD34D <clark@scheffsblend.com>
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
-From 650ad8acd15b05618aad8f11e81f27a58c359e83 Mon Sep 17 00:00:00 2001
+From 5df3d37aab9fc9dba6c7438d8277ae28f6e87f1c Mon Sep 17 00:00:00 2001
From: Nicholas Chum <nicholaschum@gmail.com>
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
-From a5d9a1ed655b898a16b5ea863a5a2e585ef3b1e1 Mon Sep 17 00:00:00 2001
+From c0c03d1360870f14ac2d9913a1d3ada307d103a0 Mon Sep 17 00:00:00 2001
From: Dave Kover <dkover@cyngn.com>
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 <dkover@cyngn.com>
-From ad17e84c92497c10cb38a0b1798c56025f118f0c Mon Sep 17 00:00:00 2001
+From 5d245eab21cad68922c97d05d7e1b7d52aa2d8e0 Mon Sep 17 00:00:00 2001
From: Nicholas Chum <nicholaschum@gmail.com>
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
-From 6807f0be728aee07a0b78f1acca9b02b23080494 Mon Sep 17 00:00:00 2001
+From f742351f6a2090623c35f011477efd2fa4b619f2 Mon Sep 17 00:00:00 2001
From: Nicholas Chum <nicholaschum@gmail.com>
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.
-From cea764e7449abf378a053afd32c69e8106d87ee1 Mon Sep 17 00:00:00 2001
+From e937cdde3e25cf094ac7f3694c6464906009fc9b Mon Sep 17 00:00:00 2001
From: Dave Kover <dkover@cyngn.com>
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
-From 4b3be4d4c3be1d7ec0d14154102e4df4d212852b Mon Sep 17 00:00:00 2001
+From 82d3b65b8ffde1187a55d38f9b638e8ba54ea674 Mon Sep 17 00:00:00 2001
From: Ivan Iskandar <iiiiskandar14@gmail.com>
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:
-From 00722b38ae2b5f0d92d671143298c22d2d30a09b Mon Sep 17 00:00:00 2001
+From 03e756392ddd20df83fb1ef880c860efc2145c07 Mon Sep 17 00:00:00 2001
From: Simao Gomes Viana <xdevs23@outlook.com>
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
---
-From 908846458df2967e828295e9e46a07fae702002e Mon Sep 17 00:00:00 2001
+From 304bea57931fdfc8fe5abd479fb62b2661d585b8 Mon Sep 17 00:00:00 2001
From: "Niklas Schnettler (Sh4dowSoul)" <niklas.schnettler@gmail.com>
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
---
-From ce14540a66fda7c777e2ed5f4445bc9ad9fa8a3f Mon Sep 17 00:00:00 2001
+From c17f896a39b5279d580160eba27fc14273b732be Mon Sep 17 00:00:00 2001
From: Nicholas Chum <nicholaschum@gmail.com>
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
-From 24b75e5b6cab51c95fed697526d6467e21a09b85 Mon Sep 17 00:00:00 2001
+From a3194519bf250edc0b2209910e96268136b17f0a Mon Sep 17 00:00:00 2001
From: George G <kreach3r@users.noreply.github.com>
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
-From f31de6b641f82b1a5c1f66d8a4cac6277c08ccfd Mon Sep 17 00:00:00 2001
+From a6a80eb4dcd9b9d4c0067f9887cdba687aa3b466 Mon Sep 17 00:00:00 2001
From: Daniel Koman <dankoman30@gmail.com>
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
-From 22a0a5d61df0c767679a35fae9c8da989aad0689 Mon Sep 17 00:00:00 2001
+From 38f4c79e1f3f76acc34d45c12c4263a9f45f7b14 Mon Sep 17 00:00:00 2001
From: George G <kreach3r@users.noreply.github.com>
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
-From c9db2d9aef146ee266ee205f843599d436a8b1f9 Mon Sep 17 00:00:00 2001
+From 7b0dc0c41d3c390fbb4e745093b06903492153b4 Mon Sep 17 00:00:00 2001
From: Daniel Koman <dankoman30@gmail.com>
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
-From 6170dc1d0ca0ff7ca70c8d1448f7f4f1f7f04fca Mon Sep 17 00:00:00 2001
+From 615256ab9ad2c7211871fc76e165ce0b71f59d77 Mon Sep 17 00:00:00 2001
From: Ivan Iskandar <iiiiskandar14@gmail.com>
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
-From 774616b16069831a611c90e9651801d5620cd8c3 Mon Sep 17 00:00:00 2001
+From b9dbdffecff661ecba1e5789069f98b87f96b721 Mon Sep 17 00:00:00 2001
From: George G <kreach3r@users.noreply.github.com>
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
-From 5060ee357331df3ad6667ee726725541e89991f2 Mon Sep 17 00:00:00 2001
+From cbffa064acf0befa6ec53a4be95c226196c50b50 Mon Sep 17 00:00:00 2001
From: Kuba Schenk <abukcz@gmail.com>
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.
-From 36677ae383f8318ef960dbe3220830d1a6829b75 Mon Sep 17 00:00:00 2001
+From 9c99050338fc517592a96f6cf95f314a7bb6a5fd Mon Sep 17 00:00:00 2001
From: Abdulwahab Isam <abdoi94.iq@gmail.com>
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.
-From 4090a8e63ec61c9dfc9151ce0dd654f286029e78 Mon Sep 17 00:00:00 2001
+From 7a58ee63e8e08b9160967bb3bd2ab1e158b1c181 Mon Sep 17 00:00:00 2001
From: bigrushdog <randall.rushing@gmail.com>
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
-From f85e261093381b27cbb4acb65d763dcc37175488 Mon Sep 17 00:00:00 2001
+From a2b3054203b8b452ccf4a508351604f7a86f1f1e Mon Sep 17 00:00:00 2001
From: daveyannihilation <daveyannihilation@hotmail.com>
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.
-From f0d5cc82780e63c6e1e93f71332f6171f92f10b2 Mon Sep 17 00:00:00 2001
+From 07f21698d35fac190b35a09f9b4b374403a98e0d Mon Sep 17 00:00:00 2001
From: Alex Cruz <mazdarider23@gmail.com>
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)
-From 2daf3d3b923694487c66ac83a2ef7572ba50f479 Mon Sep 17 00:00:00 2001
+From ad49dcb1ba0eac143b83d618e5542afd8a968320 Mon Sep 17 00:00:00 2001
From: George G <kreach3r@users.noreply.github.com>
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.
-From cd7ad874b38bf22e09d09cdafd26aa39b1d68fde Mon Sep 17 00:00:00 2001
+From 8545dde811a6ae7606c8609183c52cb6c2a04eea Mon Sep 17 00:00:00 2001
From: Alex Cruz <mazdarider23@gmail.com>
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
-From b04342523f7ea0eea0db19e9e3f17d5db4155eee Mon Sep 17 00:00:00 2001
+From e2a145a64bdf11724f74569154eb2ac346aa1024 Mon Sep 17 00:00:00 2001
From: Branden M <wasabi.dev@gmail.com>
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
---
-From 9f5d37412ea083d2c2d62a0a7c57ecc9e69b8660 Mon Sep 17 00:00:00 2001
+From f5e23395c9f33b170de93f30988f7de225de2922 Mon Sep 17 00:00:00 2001
From: SpiritCroc <spiritcroc@gmail.com>
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
-From f43fa833a184ffa48277e0909ec879af0b37d31f Mon Sep 17 00:00:00 2001
+From 60ea856a501735943937fb353bbbc2af89d0bb2d Mon Sep 17 00:00:00 2001
From: bigrushdog <randall.rushing@gmail.com>
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
-From 10888593d546915a2981f4051f098dd5af72f556 Mon Sep 17 00:00:00 2001
+From d8e6331f2ed5d17c6bd791a0617cec4d33f6e22b Mon Sep 17 00:00:00 2001
From: Nicholas Chum <nicholaschum@gmail.com>
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
-From a0322158bdb31d636ac0146166a2ea5ca909bc64 Mon Sep 17 00:00:00 2001
+From b420f73f3d68e2b2ee48596d22fb311565631450 Mon Sep 17 00:00:00 2001
From: Evan Anderson <evananderson@aospa.co>
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
-From 5c8f9969cd9744c01b5e6ef3e93b3d7fe3483ad3 Mon Sep 17 00:00:00 2001
+From 7990013925c0e8bc16949dae08e3fa34633df805 Mon Sep 17 00:00:00 2001
From: Bryan Owens <djbryan3540@gmail.com>
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
-From 4dda4b3cfd6a8b62363cc5e1b9fdf90eec10277b Mon Sep 17 00:00:00 2001
+From 7ada09c7e8fbfc212badd6f9292a8d46fbb1592c Mon Sep 17 00:00:00 2001
From: George G <kreach3r@users.noreply.github.com>
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
-From 4e243f0353a0bbf7df68b2e51cf4686533f1d1d5 Mon Sep 17 00:00:00 2001
+From 3bc75e2ce9ef65b50d939b3d7d484dd03235b3a2 Mon Sep 17 00:00:00 2001
From: Nathan Chancellor <natechancellor@gmail.com>
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
-From 2c5b8dd6e6ce0ea525dc2444315989817652da2c Mon Sep 17 00:00:00 2001
+From 972584c946a17390ef9ed7a9d41dfe93a1b49e81 Mon Sep 17 00:00:00 2001
From: Ivan Iskandar <iiiiskandar14@gmail.com>
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.
-From 2dd4c5237ca09c875edf5df2496ab2edadf69b49 Mon Sep 17 00:00:00 2001
+From 638955787d64de9f927a9b906250caf2f97dd198 Mon Sep 17 00:00:00 2001
From: ezio84 <brabus84@gmail.com>
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).
-From 69d5cad3677920b89fef6bb000b2f2c54dccb5ef Mon Sep 17 00:00:00 2001
+From a8ba4a605a4ce21555d03d2f2ae2889eb43fe2ef Mon Sep 17 00:00:00 2001
From: Bryan Owens <djbryan3540@gmail.com>
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 <djbryan3540@gmail.com>
-From 4c73aa4be895400225cd6c0d7c849e7fddc4d56d Mon Sep 17 00:00:00 2001
+From 0433715b53cee641e910d227f0dd1f79c92fcaa0 Mon Sep 17 00:00:00 2001
From: George G <kreach3r@users.noreply.github.com>
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
-From 5d7c0389a211057bdbe0e80d85b86f4c620cd9af Mon Sep 17 00:00:00 2001
+From 7fdff8fb9ed8a74716788356ccc6ccf9fb85439f Mon Sep 17 00:00:00 2001
From: bigrushdog <randall.rushing@gmail.com>
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
-From 69d396aba2f939f77677b6a81b5343bd7b37b2c1 Mon Sep 17 00:00:00 2001
+From ffacc693d50d0b2a8521593035e66eb21ea2bd50 Mon Sep 17 00:00:00 2001
From: Randall Rushing <randall.rushing@gmail.com>
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.
-From b6ba867fd39e4b01ffadfedca70572febf899aad Mon Sep 17 00:00:00 2001
+From 7d23de6207095a40831683c4b88d2e22b0901f65 Mon Sep 17 00:00:00 2001
From: Ivan Iskandar <iiiiskandar14@gmail.com>
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
---
-From a1519b0905027158ff105f490a6bb6c246bd2c1d Mon Sep 17 00:00:00 2001
+From 744d0ea3ce3115ed6f1ae32bcb98511cdd41cf74 Mon Sep 17 00:00:00 2001
From: mickybart <mickybart@pygoscelis.org>
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
--- /dev/null
+From 4aa32215301dcd43d8c25996f41c05d1ce358fbc Mon Sep 17 00:00:00 2001
+From: Shane Francis <bigbeeshane@gmail.com>
+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 @@
+
+ <!-- Allows an application to make calls to OverlayManagerService.
+ @hide -->
+- <permission android:name="android.permission.MODIFY_OVERLAYS"
++ <permission android:name="oms.permission.MODIFY_OVERLAYS"
+ android:label="@string/permlab_modifyOverlays"
+ android:description="@string/permdesc_modifyOverlays"
+- android:protectionLevel="normal" />
++ android:protectionLevel="signatureOrSystem" />
+
+ <application android:process="system"
+ android:persistent="true"
+diff --git a/services/core/java/com/android/server/om/OverlayManagerService.java b/services/core/java/com/android/server/om/OverlayManagerService.java
+index ac56985ce54..658dd217195 100644
+--- a/services/core/java/com/android/server/om/OverlayManagerService.java
++++ b/services/core/java/com/android/server/om/OverlayManagerService.java
+@@ -194,6 +194,8 @@ public final class OverlayManagerService extends SystemService {
+
+ static final String TAG = "OverlayManager";
+
++ static final String PERMISSION_MODIFY_OVERLAYS = "oms.permission.MODIFY_OVERLAYS";
++
+ static final boolean DEBUG = false;
+
+ private final Object mLock = new Object();
+@@ -551,7 +553,7 @@ public final class OverlayManagerService extends SystemService {
+ */
+ private int handleIncomingUser(final int userId, @NonNull final String message) {
+ if (getContext().checkCallingOrSelfPermission(
+- android.Manifest.permission.MODIFY_OVERLAYS) == PackageManager.PERMISSION_GRANTED) {
++ PERMISSION_MODIFY_OVERLAYS) == PackageManager.PERMISSION_GRANTED) {
+ return userId;
+ } else {
+ return ActivityManager.handleIncomingUser(Binder.getCallingPid(),
+@@ -570,7 +572,7 @@ public final class OverlayManagerService extends SystemService {
+ final int callingUid = Binder.getCallingUid();
+
+ if (getContext().checkCallingOrSelfPermission(
+- android.Manifest.permission.MODIFY_OVERLAYS) != PackageManager.PERMISSION_GRANTED) {
++ PERMISSION_MODIFY_OVERLAYS) != PackageManager.PERMISSION_GRANTED) {
+ if (callingUid != Process.SYSTEM_UID && callingUid != 0) {
+ getContext().enforceCallingOrSelfPermission(
+ android.Manifest.permission.CHANGE_CONFIGURATION, message);
+--
+2.11.1
+