-From dabbe17b89e52c2324a4bda0a428ce4daed2f78a Mon Sep 17 00:00:00 2001
+From cac5aabf6609811b15007aabdce99e417f89a57f 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/50] OMS7-N: Support tagging resources as OK to overlay
+Subject: [PATCH 01/51] OMS7-N: Support tagging resources as OK to overlay
[1/11]
This will allow applications to have a resource xml defining what
-From 98d698443b36451356aeabb6b90cbb5d6d639f05 Mon Sep 17 00:00:00 2001
+From b0a270f40fddc0fce7b725e690d27b9a174a410a 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/50] OMS7-N: Introduce the OverlayManagerService [2/11]
+Subject: [PATCH 02/51] 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
+ public abstract void setResourceDirs(int userId, String packageName, String[] resourceDirs);
}
diff --git a/core/res/AndroidManifest.xml b/core/res/AndroidManifest.xml
-index e15a0b8c895..cd200e20481 100644
+index a52480f3a3f..9c09adaa539 100644
--- a/core/res/AndroidManifest.xml
+++ b/core/res/AndroidManifest.xml
@@ -84,6 +84,10 @@
+ }
+}
diff --git a/services/core/java/com/android/server/pm/PackageManagerService.java b/services/core/java/com/android/server/pm/PackageManagerService.java
-index 9e899afe3a3..3aacfb43913 100644
+index 1505cc0a63b..460b2c277fe 100644
--- a/services/core/java/com/android/server/pm/PackageManagerService.java
+++ b/services/core/java/com/android/server/pm/PackageManagerService.java
-@@ -21466,6 +21466,47 @@ Slog.v(TAG, ":: stepped forward, applying functor at tag " + parser.getName());
+@@ -21480,6 +21480,47 @@ Slog.v(TAG, ":: stepped forward, applying functor at tag " + parser.getName());
public String getNameForUid(int uid) {
return PackageManagerService.this.getNameForUid(uid);
}
-From a29653fb00043a5b06135c4ae0cb7a2e17e46eec Mon Sep 17 00:00:00 2001
+From 40e0f1d244f58825e4080ca4f7617008501d176b 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/50] OMS7-N: Integrate OverlayManagerService into framework
+Subject: [PATCH 03/51] OMS7-N: Integrate OverlayManagerService into framework
[3/11]
Hand over ownership of overlays to OverlayManagerService.
throws RemoteException {
Parcel data = Parcel.obtain();
diff --git a/core/java/android/app/ActivityThread.java b/core/java/android/app/ActivityThread.java
-index 9d2ef914738..9e479ec6772 100644
+index eb257c59b5c..3597812983f 100644
--- a/core/java/android/app/ActivityThread.java
+++ b/core/java/android/app/ActivityThread.java
-@@ -898,6 +898,14 @@ public final class ActivityThread {
+@@ -916,6 +916,14 @@ public final class ActivityThread {
sendMessage(H.CONFIGURATION_CHANGED, config);
}
public void updateTimeZone() {
TimeZone.setDefault(null);
}
-@@ -1406,6 +1414,7 @@ public final class ActivityThread {
+@@ -1424,6 +1432,7 @@ public final class ActivityThread {
public static final int MULTI_WINDOW_MODE_CHANGED = 152;
public static final int PICTURE_IN_PICTURE_MODE_CHANGED = 153;
public static final int LOCAL_VOICE_INTERACTION_STARTED = 154;
String codeToString(int code) {
if (DEBUG_MESSAGES) {
-@@ -1462,6 +1471,7 @@ public final class ActivityThread {
+@@ -1480,6 +1489,7 @@ public final class ActivityThread {
case MULTI_WINDOW_MODE_CHANGED: return "MULTI_WINDOW_MODE_CHANGED";
case PICTURE_IN_PICTURE_MODE_CHANGED: return "PICTURE_IN_PICTURE_MODE_CHANGED";
case LOCAL_VOICE_INTERACTION_STARTED: return "LOCAL_VOICE_INTERACTION_STARTED";
}
}
return Integer.toString(code);
-@@ -1717,6 +1727,10 @@ public final class ActivityThread {
+@@ -1735,6 +1745,10 @@ public final class ActivityThread {
handleLocalVoiceInteractionStarted((IBinder) ((SomeArgs) msg.obj).arg1,
(IVoiceInteractor) ((SomeArgs) msg.obj).arg2);
break;
}
Object obj = msg.obj;
if (obj instanceof SomeArgs) {
-@@ -4804,6 +4818,37 @@ public final class ActivityThread {
+@@ -4840,6 +4854,37 @@ public final class ActivityThread {
}
}
* Starts the specified boot phase for all system services that have been started up to
* this point.
diff --git a/services/core/java/com/android/server/am/ActivityManagerService.java b/services/core/java/com/android/server/am/ActivityManagerService.java
-index 2e73c72db93..a94822e5698 100644
+index cbfc37c28ca..3802650f3ed 100644
--- a/services/core/java/com/android/server/am/ActivityManagerService.java
+++ b/services/core/java/com/android/server/am/ActivityManagerService.java
-@@ -19376,6 +19376,57 @@ public final class ActivityManagerService extends ActivityManagerNative
+@@ -19379,6 +19379,57 @@ public final class ActivityManagerService extends ActivityManagerNative
}
/**
private void schedulePersistSettings() {
diff --git a/services/core/java/com/android/server/pm/PackageManagerService.java b/services/core/java/com/android/server/pm/PackageManagerService.java
-index 3aacfb43913..298a9df359d 100644
+index 460b2c277fe..7ac16e3c51e 100644
--- a/services/core/java/com/android/server/pm/PackageManagerService.java
+++ b/services/core/java/com/android/server/pm/PackageManagerService.java
@@ -399,17 +399,16 @@ public class PackageManagerService extends IPackageManager.Stub {
return pkg;
}
-@@ -16628,7 +16537,7 @@ public class PackageManagerService extends IPackageManager.Stub {
+@@ -16642,7 +16551,7 @@ public class PackageManagerService extends IPackageManager.Stub {
false /*hidden*/, false /*suspended*/, null, null, null,
false /*blockUninstall*/,
ps.readUserState(nextUserId).domainVerificationStatus, 0,
}
}
-@@ -21498,14 +21407,13 @@ Slog.v(TAG, ":: stepped forward, applying functor at tag " + parser.getName());
+@@ -21512,14 +21421,13 @@ Slog.v(TAG, ":: stepped forward, applying functor at tag " + parser.getName());
@Override
public void setResourceDirs(int userId, String packageName, String[] resourceDirs) {
-From 1f52d40fbb2d5bd041659181eff4b40bd5e70a3f Mon Sep 17 00:00:00 2001
+From 503f16b69bb125feab7f22d85f3a553a67537c9f 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/50] OMS7-N: Set EXTRA_REPLACING correctly in
+Subject: [PATCH 04/51] OMS7-N: Set EXTRA_REPLACING correctly in
ACTION_PACKAGE_ADDED [4/11]
When broadcasting ACTION_PACKAGE_ADDED the recipients of the Intent are
1 file changed, 1 insertion(+)
diff --git a/services/core/java/com/android/server/pm/PackageManagerService.java b/services/core/java/com/android/server/pm/PackageManagerService.java
-index 298a9df359d..0aee826c411 100644
+index 7ac16e3c51e..874444b9861 100644
--- a/services/core/java/com/android/server/pm/PackageManagerService.java
+++ b/services/core/java/com/android/server/pm/PackageManagerService.java
@@ -1722,6 +1722,7 @@ public class PackageManagerService extends IPackageManager.Stub {
-From b016dcd8405c01115c5100106dcb8223911b687b Mon Sep 17 00:00:00 2001
+From 620d5f4e0a704e8ee7f34689cd8948d010c14ada 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/50] OMS7-N: idmap: suppress print for padded resources
+Subject: [PATCH 05/51] OMS7-N: idmap: suppress print for padded resources
[5/11]
Change-Id: I565ccf515068b96927e4317cc9c06543415bb324
-From 6fd0672034ac3c61db3a3c0e75ec1cb232cdffc0 Mon Sep 17 00:00:00 2001
+From 2ff8bd978467f93218062655d5a073107667760e 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/50] OMS7-N: Fix memory leak during idmap creation [6/11]
+Subject: [PATCH 06/51] OMS7-N: Fix memory leak during idmap creation [6/11]
Plug a memory leak in AssetManager::createIdmap.
-From bf2fcbe5c54d85724227dc7b7493af13d88e6699 Mon Sep 17 00:00:00 2001
+From 3dab411e25db5dd773ed1a50ae2dfaf1e3755c67 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/50] OMS7-N: installd: add command 'rmidmap' [7/11]
+Subject: [PATCH 07/51] 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 094b09cef2e72673395d8bc6b27e91dfd7ee9f81 Mon Sep 17 00:00:00 2001
+From 87343cd4bdf5fa1433a809f5268af1e0d832ad83 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/50] OMS7-N: Disable Zygote preloaded drawables [8/11]
+Subject: [PATCH 08/51] 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 0a7d876a7e316223f4b97d907eab74678611a801 Mon Sep 17 00:00:00 2001
+From 911008bdc1076a97cfce8bec4ee6f208e7a0228d 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/50] OMS7-N: Persistence on boot through
+Subject: [PATCH 09/51] OMS7-N: Persistence on boot through
OverlayManagerServiceImpl [9/11]
Overlays should not be enforced by the traditional OverlayManagerService
-From 27a981435b8d89e12d97f82c841adf21e40f5d34 Mon Sep 17 00:00:00 2001
+From 7b2cd7ad904ddf0e52ab5d61e01cf23634281a77 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/50] OMS7-N: Do not enforce code policy limiting overlay
+Subject: [PATCH 10/51] OMS7-N: Do not enforce code policy limiting overlay
installation [10/11]
Change-Id: Iea317f3771f25dbfcbf4938e88cace12fd97d7eb
1 file changed, 4 deletions(-)
diff --git a/services/core/java/com/android/server/pm/PackageManagerService.java b/services/core/java/com/android/server/pm/PackageManagerService.java
-index 0aee826c411..6c89c2e2129 100644
+index 874444b9861..33bbf257f1c 100644
--- a/services/core/java/com/android/server/pm/PackageManagerService.java
+++ b/services/core/java/com/android/server/pm/PackageManagerService.java
@@ -8133,10 +8133,6 @@ public class PackageManagerService extends IPackageManager.Stub {
-From 077495ff8bbba4ba943a5c6d507a85c0f23e3c3b Mon Sep 17 00:00:00 2001
+From fb4fb797410b3bb18ae598340c8f881996e74b5c 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/50] OMS7-N: Implement multi-target enable/disable and
+Subject: [PATCH 11/51] 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 84141a7f1bfc1488803142c4a158fec27018ffdc Mon Sep 17 00:00:00 2001
+From 1a43c156ad79ee0a6aac98ac1887375a4f90f813 Mon Sep 17 00:00:00 2001
From: 0xD34D <clark@scheffsblend.com>
Date: Mon, 20 Jun 2016 22:59:48 +0300
-Subject: [PATCH 12/50] N-Extras: Add dynamic theme BootAnimation support
+Subject: [PATCH 12/51] N-Extras: Add dynamic theme BootAnimation support
Extracted from "Themes: Port to CM13 [1/3]"
http://review.cyanogenmod.org/#/c/113273/14
-From db0d6ddfc5366bc4d2c62928d475c72dbb7f5bbc Mon Sep 17 00:00:00 2001
+From dbd4ff78c46c75996f07f1d7b55a83f999ff3508 Mon Sep 17 00:00:00 2001
From: 0xD34D <clark@scheffsblend.com>
Date: Wed, 22 Jun 2016 23:54:23 +0300
-Subject: [PATCH 13/50] N-Extras: Add dynamic theme fonts support
+Subject: [PATCH 13/51] 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
8 files changed, 240 insertions(+), 27 deletions(-)
diff --git a/core/java/android/app/ActivityThread.java b/core/java/android/app/ActivityThread.java
-index 9e479ec6772..0061062943a 100644
+index 3597812983f..c2999437582 100644
--- a/core/java/android/app/ActivityThread.java
+++ b/core/java/android/app/ActivityThread.java
@@ -48,6 +48,7 @@ import android.database.sqlite.SQLiteDebug;
import android.hardware.display.DisplayManagerGlobal;
import android.net.ConnectivityManager;
import android.net.IConnectivityManager;
-@@ -4853,8 +4854,12 @@ public final class ActivityThread {
+@@ -4889,8 +4890,12 @@ public final class ActivityThread {
if (configDiff != 0) {
// Ask text layout engine to free its caches if there is a locale change
boolean hasLocaleConfigChange = ((configDiff & ActivityInfo.CONFIG_LOCALE) != 0);
protected void finalize() throws Throwable {
try {
diff --git a/services/core/java/com/android/server/am/ActivityManagerService.java b/services/core/java/com/android/server/am/ActivityManagerService.java
-index a94822e5698..7424f1e356f 100644
+index 3802650f3ed..ef1d2381a10 100644
--- a/services/core/java/com/android/server/am/ActivityManagerService.java
+++ b/services/core/java/com/android/server/am/ActivityManagerService.java
@@ -513,6 +513,8 @@ public final class ActivityManagerService extends ActivityManagerNative
-From 8166bb0ad93de8c095c6aeb157a0058e4348e957 Mon Sep 17 00:00:00 2001
+From 650ad8acd15b05618aad8f11e81f27a58c359e83 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/50] N-Extras: AudioService: Allow system effect sounds to
+Subject: [PATCH 14/51] N-Extras: AudioService: Allow system effect sounds to
be themed
This commit checks whether there is a preexisting file in the themed
-From f81eee3d19e704da61dd6687f5d9d616a224d32a Mon Sep 17 00:00:00 2001
+From a5d9a1ed655b898a16b5ea863a5a2e585ef3b1e1 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/50] Themes: Expose resolver hardcoded colors
+Subject: [PATCH 15/51] Themes: Expose resolver hardcoded colors
commit dbbd5e70cc65002df41561474b03362022dd6716
Author: Dave Kover <dkover@cyngn.com>
-From ee80d924cde78a0060b94c2b6ecfc87684c68ecb Mon Sep 17 00:00:00 2001
+From ad17e84c92497c10cb38a0b1798c56025f118f0c 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/50] Themes: Allow Immersive cling colors to be fully themed
+Subject: [PATCH 16/51] 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 9a908affc3c79c20fe08d65293d7a601a36928f5 Mon Sep 17 00:00:00 2001
+From 6807f0be728aee07a0b78f1acca9b02b23080494 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/50] Themes: Allow Permission Icons to be fully themed
+Subject: [PATCH 17/51] 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 45258039afb93f4f3dba60ac39f2ac374e5e7126 Mon Sep 17 00:00:00 2001
+From cea764e7449abf378a053afd32c69e8106d87ee1 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/50] Themes: Allow Navbar ripple color to be themed
+Subject: [PATCH 18/51] Themes: Allow Navbar ripple color to be themed
PS1:
Layers Commit by @setiawanjimmy
-From 073d51964c3a206f2b4287c7a1bea10aa7152cae Mon Sep 17 00:00:00 2001
+From 4b3be4d4c3be1d7ec0d14154102e4df4d212852b 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/50] SystemUI: Expose QS edit item decoration background
+Subject: [PATCH 19/51] SystemUI: Expose QS edit item decoration background
color
PS2:
-From 37c3f4543cde43fa7cbe2eade180eecbfd4e096b Mon Sep 17 00:00:00 2001
+From 00722b38ae2b5f0d92d671143298c22d2d30a09b 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/50] Allow custom alpha for notification shade bg color
+Subject: [PATCH 20/51] Allow custom alpha for notification shade bg color
Change-Id: If621df83d994feae0448a734408ba85ac8329325
---
-From ebe81bf0613d8e0ed897e0d790defa8b7489a96c Mon Sep 17 00:00:00 2001
+From 908846458df2967e828295e9e46a07fae702002e 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/50] Themes: Expose various QuickSettings text colors
+Subject: [PATCH 21/51] Themes: Expose various QuickSettings text colors
Change-Id: Iaea71ca83afbc3d8cc6faea6afac16cabb46cfff
---
-From c8066762a01b53ee2c76f8b2611b0adab7088f06 Mon Sep 17 00:00:00 2001
+From ce14540a66fda7c777e2ed5f4445bc9ad9fa8a3f 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/50] Notifications: Expose a bool to disable dynamic colors
+Subject: [PATCH 22/51] 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 343678142b8fb176f079cf0c7cd7992289717dab Mon Sep 17 00:00:00 2001
+From 24b75e5b6cab51c95fed697526d6467e21a09b85 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/50] Notification dynamic colors bool compatible with OMS7
+Subject: [PATCH 23/51] 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 fb82622f95d7861f8ee38ef16732b98250302bbb Mon Sep 17 00:00:00 2001
+From f31de6b641f82b1a5c1f66d8a4cac6277c08ccfd 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/50] Allow prevention of doze notification color inversion
+Subject: [PATCH 24/51] Allow prevention of doze notification color inversion
Removed empty newline at the end -- KreAch3R
Removed slims files for aosp roms -- Bgill55
-From 6ba8d72e9305b3e282a8bfd50fe2a53edb2287e2 Mon Sep 17 00:00:00 2001
+From 22a0a5d61df0c767679a35fae9c8da989aad0689 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/50] OMS7 compatible 'Ambient notification inversion'
+Subject: [PATCH 25/51] 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 f1dbfafffecbfc51a3b801ebe38a7118ef545031 Mon Sep 17 00:00:00 2001
+From c9db2d9aef146ee266ee205f843599d436a8b1f9 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/50] doze: allow grayscale even if invert boolean is false
+Subject: [PATCH 26/51] 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 db542a812c0e29daf3f380c52566e53f19cb0c58 Mon Sep 17 00:00:00 2001
+From 6170dc1d0ca0ff7ca70c8d1448f7f4f1f7f04fca 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/50] SystemUI: Use own drawables for QS expand icon
+Subject: [PATCH 27/51] 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 68a009749abfbed172a34ce04be0826dab8e50fe Mon Sep 17 00:00:00 2001
+From 774616b16069831a611c90e9651801d5620cd8c3 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/50] OMS7-N: ApplicationsState: add filter for Substratum
+Subject: [PATCH 28/51] OMS7-N: ApplicationsState: add filter for Substratum
overlays [1/2]
This commit allows the framework to handle the filtering of the
-From 96a68b57b27b1f8fcfc8bbec902429303fea6b4f Mon Sep 17 00:00:00 2001
+From 5060ee357331df3ad6667ee726725541e89991f2 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/50] OMS7-N: ApplicationsState: add filter for Substratum
+Subject: [PATCH 29/51] 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 9a7b975d72fe5d79093cf068eec49be51ea97303 Mon Sep 17 00:00:00 2001
+From 36677ae383f8318ef960dbe3220830d1a6829b75 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/50] Themes: Expose QS battery
+Subject: [PATCH 30/51] Themes: Expose QS battery
This is needed for white themes like Belo. Should function the same with dark themes as well.
-From 6552655fd7898540efb0c093ece0e4bf43be6028 Mon Sep 17 00:00:00 2001
+From 4090a8e63ec61c9dfc9151ce0dd654f286029e78 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/50] OMS: Introduce MODIFY_OVERLAYS permission for user apps
+Subject: [PATCH 31/51] 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
3 files changed, 29 insertions(+), 8 deletions(-)
diff --git a/core/res/AndroidManifest.xml b/core/res/AndroidManifest.xml
-index cd200e20481..fe1ef539139 100644
+index 9c09adaa539..66e916e66d0 100644
--- a/core/res/AndroidManifest.xml
+++ b/core/res/AndroidManifest.xml
-@@ -3167,6 +3167,12 @@
+@@ -3169,6 +3169,12 @@
<permission android:name="android.permission.SUBSTITUTE_NOTIFICATION_APP_NAME"
android:protectionLevel="signature|privileged" />
-From 9c0b48b2dd65eec48a01635b1c73c4d7f42fd8d4 Mon Sep 17 00:00:00 2001
+From f85e261093381b27cbb4acb65d763dcc37175488 Mon Sep 17 00:00:00 2001
From: daveyannihilation <daveyannihilation@hotmail.com>
Date: Sun, 1 Jan 2017 01:47:53 -0700
-Subject: [PATCH 32/50] SystemUI: Expose switch bar title
+Subject: [PATCH 32/51] SystemUI: Expose switch bar title
This is needed for the power notifications switchbar in SystemUI Tuner, amongst other things.
-From aa55c54d10683696e07f0a0c5cb56e1a8818f834 Mon Sep 17 00:00:00 2001
+From f0d5cc82780e63c6e1e93f71332f6171f92f10b2 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/50] Expose external qs tile tint color
+Subject: [PATCH 33/51] Expose external qs tile tint color
This should allow themers to get around issues like this (see pic below)
-From 0ec70df9695b78e50115cb16eff63f1a12151e87 Mon Sep 17 00:00:00 2001
+From 2daf3d3b923694487c66ac83a2ef7572ba50f479 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/50] graphics: ADB "N" icon compatible with OMS7
+Subject: [PATCH 34/51] 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 08cea310d8247a18fe48de3b65d2703bf4d70c8f Mon Sep 17 00:00:00 2001
+From cd7ad874b38bf22e09d09cdafd26aa39b1d68fde 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/50] Set external QS tiles tint mode to SRC_ATOP
+Subject: [PATCH 35/51] 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 42fb6344e4752d3bdec8e7f912d9cab933940fd6 Mon Sep 17 00:00:00 2001
+From b04342523f7ea0eea0db19e9e3f17d5db4155eee 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/50] Themes: Expose Keyguard affordance circle background
+Subject: [PATCH 36/51] Themes: Expose Keyguard affordance circle background
Change-Id: Id4a078cdbc944fa0c0736103045a0382d49ecb80
---
-From 8f28e14a9b6ea601fe848805f707a9ecc522cfcf Mon Sep 17 00:00:00 2001
+From 9f5d37412ea083d2c2d62a0a7c57ecc9e69b8660 Mon Sep 17 00:00:00 2001
From: SpiritCroc <spiritcroc@gmail.com>
Date: Sun, 5 Feb 2017 12:00:54 +0100
-Subject: [PATCH 37/50] Notification tint: add optional findContrastColor
+Subject: [PATCH 37/51] Notification tint: add optional findContrastColor
algorithm for dark backgrounds
Overlay config_useDarkBgNotificationIconTextTinting to enable dark bg tinting
-From bd53a67ef616a547391a7703be1c0893d10edb5c Mon Sep 17 00:00:00 2001
+From f43fa833a184ffa48277e0909ec879af0b37d31f 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/50] Add a protected broadcast for Masquerade events
+Subject: [PATCH 38/51] Add a protected broadcast for Masquerade events
Parse extras to get event details. Docs will be available
in Masquerade source code
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/core/res/AndroidManifest.xml b/core/res/AndroidManifest.xml
-index fe1ef539139..d4a23a69924 100644
+index 66e916e66d0..17946c06b47 100644
--- a/core/res/AndroidManifest.xml
+++ b/core/res/AndroidManifest.xml
-@@ -524,6 +524,8 @@
+@@ -526,6 +526,8 @@
<!-- ====================================================================== -->
<eat-comment />
<!-- Permissions for accessing user's contacts including personal profile -->
<!-- ====================================================================== -->
diff --git a/services/core/java/com/android/server/pm/PackageManagerService.java b/services/core/java/com/android/server/pm/PackageManagerService.java
-index 6c89c2e2129..4d983571622 100644
+index 33bbf257f1c..904bc5bd548 100644
--- a/services/core/java/com/android/server/pm/PackageManagerService.java
+++ b/services/core/java/com/android/server/pm/PackageManagerService.java
@@ -4550,7 +4550,8 @@ public class PackageManagerService extends IPackageManager.Stub {
-From 97eb2cc8d30a626ab0c5ce8acb82bc89a278b993 Mon Sep 17 00:00:00 2001
+From 10888593d546915a2981f4051f098dd5af72f556 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/50] OMS7: Rootless Security Update Preparation for March
+Subject: [PATCH 39/51] OMS7: Rootless Security Update Preparation for March
2017
Change-Id: I93f7917eebf9f86590eb9c00841460d236702cb3
-From 959537af95548550869a2e6a517bfa395b0c5b8d Mon Sep 17 00:00:00 2001
+From a0322158bdb31d636ac0146166a2ea5ca909bc64 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/50] OMS: Add hide annotation to MODIFY_OVERLAYS permission
+Subject: [PATCH 40/51] 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
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/core/res/AndroidManifest.xml b/core/res/AndroidManifest.xml
-index d4a23a69924..12d12efb3c8 100644
+index 17946c06b47..9177507448f 100644
--- a/core/res/AndroidManifest.xml
+++ b/core/res/AndroidManifest.xml
-@@ -3169,7 +3169,8 @@
+@@ -3171,7 +3171,8 @@
<permission android:name="android.permission.SUBSTITUTE_NOTIFICATION_APP_NAME"
android:protectionLevel="signature|privileged" />
-From 4cb1a87a6e75709e9a6b6806958c5f5dfc2d91ba Mon Sep 17 00:00:00 2001
+From 5c8f9969cd9744c01b5e6ef3e93b3d7fe3483ad3 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/50] FWB: Give power dialogs own set of volume icons for
+Subject: [PATCH 41/51] FWB: Give power dialogs own set of volume icons for
themes
Change-Id: I5add336c06a83b162dfd0832dfabfb06a2827421
-From dd79ad85f4f7b914bc81d2b2cf60aea6c68787bf Mon Sep 17 00:00:00 2001
+From 4dda4b3cfd6a8b62363cc5e1b9fdf90eec10277b 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/50] base: Force authorize all calling packages by
+Subject: [PATCH 42/51] base: Force authorize all calling packages by
Masquerade (2/3)
Change-Id: Iaf354c4d891acf9f5e19767223e4f9860a07338f
-From 19cca8630aef4467be7f20bbbbd039f019bd74f8 Mon Sep 17 00:00:00 2001
+From 4e243f0353a0bbf7df68b2e51cf4686533f1d1d5 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/50] Revert "Add a protected broadcast for Masquerade
+Subject: [PATCH 43/51] Revert "Add a protected broadcast for Masquerade
events"
Requires https://substratum.review/#/c/374
2 files changed, 1 insertion(+), 4 deletions(-)
diff --git a/core/res/AndroidManifest.xml b/core/res/AndroidManifest.xml
-index 12d12efb3c8..58fb5f533c1 100644
+index 9177507448f..ad2a4afcbef 100644
--- a/core/res/AndroidManifest.xml
+++ b/core/res/AndroidManifest.xml
-@@ -524,8 +524,6 @@
+@@ -526,8 +526,6 @@
<!-- ====================================================================== -->
<eat-comment />
<!-- Permissions for accessing user's contacts including personal profile -->
<!-- ====================================================================== -->
diff --git a/services/core/java/com/android/server/pm/PackageManagerService.java b/services/core/java/com/android/server/pm/PackageManagerService.java
-index 4d983571622..6c89c2e2129 100644
+index 904bc5bd548..33bbf257f1c 100644
--- a/services/core/java/com/android/server/pm/PackageManagerService.java
+++ b/services/core/java/com/android/server/pm/PackageManagerService.java
@@ -4550,8 +4550,7 @@ public class PackageManagerService extends IPackageManager.Stub {
-From 9b6850894eec6e9911593d5b5ce135b83ad73acb Mon Sep 17 00:00:00 2001
+From 2c5b8dd6e6ce0ea525dc2444315989817652da2c 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/50] ThemeSafety: Introduce App Crash Intent
+Subject: [PATCH 44/51] ThemeSafety: Introduce App Crash Intent
The intent received by substratum and it will disable all enabled
overlays.
-From f232c55c3d8707d9665d8df68e76279f0932b131 Mon Sep 17 00:00:00 2001
+From 2dd4c5237ca09c875edf5df2496ab2edadf69b49 Mon Sep 17 00:00:00 2001
From: ezio84 <brabus84@gmail.com>
Date: Tue, 7 Mar 2017 23:33:40 +0100
-Subject: [PATCH 45/50] Expose Screenshot flash and background colors
+Subject: [PATCH 45/51] 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 ddc7387cb62e72cfbcb6991e938f301de3fb0a46 Mon Sep 17 00:00:00 2001
+From 69d5cad3677920b89fef6bb000b2f2c54dccb5ef 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/50] Themes: Expose Keyboard Shortcuts Dialog
+Subject: [PATCH 46/51] Themes: Expose Keyboard Shortcuts Dialog
Change-Id: I84d3e57fe8c42d79ff6e0b6502cb6cd49aaaf91b
Signed-off-by: Bryan Owens <djbryan3540@gmail.com>
-From 0815903ef6adc074c9093226da219da1b5e052f4 Mon Sep 17 00:00:00 2001
+From 4c73aa4be895400225cd6c0d7c849e7fddc4d56d 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/50] Hold "volume up" during boot to disable all overlays
+Subject: [PATCH 47/51] 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
3 files changed, 57 insertions(+)
diff --git a/services/core/java/com/android/server/am/ActivityManagerService.java b/services/core/java/com/android/server/am/ActivityManagerService.java
-index 7424f1e356f..78f6d078924 100644
+index ef1d2381a10..87899167d7f 100644
--- a/services/core/java/com/android/server/am/ActivityManagerService.java
+++ b/services/core/java/com/android/server/am/ActivityManagerService.java
@@ -125,6 +125,8 @@ import android.content.IIntentSender;
import android.content.pm.ActivityInfo;
import android.content.pm.ApplicationInfo;
import android.content.pm.ConfigurationInfo;
-@@ -13086,6 +13088,33 @@ public final class ActivityManagerService extends ActivityManagerNative
+@@ -13089,6 +13091,33 @@ public final class ActivityManagerService extends ActivityManagerNative
Context.WINDOW_SERVICE)).addView(v, lp);
}
-From 7d719c250760434d620a48e27a8c55c8a508c56e Mon Sep 17 00:00:00 2001
+From 5d7c0389a211057bdbe0e80d85b86f4c620cd9af 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/50] Separate tile label color from icon drawable color
+Subject: [PATCH 48/51] 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 e29a569ef202fbc68815e3c6bc2ce23ff4c5da69 Mon Sep 17 00:00:00 2001
+From 69d396aba2f939f77677b6a81b5343bd7b37b2c1 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/50] Themes: Allow volume slider and thumb to work with
+Subject: [PATCH 49/51] Themes: Allow volume slider and thumb to work with
custom images.
Credit Bryan Owens for giving guidance on what was needed.
-From c2d3217af33fa0dba8d00db33c5c1a9e08cee446 Mon Sep 17 00:00:00 2001
+From b6ba867fd39e4b01ffadfedca70572febf899aad 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/50] Add protected broadcast for app crash broadcast
+Subject: [PATCH 50/51] Add protected broadcast for app crash broadcast
Change-Id: I85a1d73343df817944be007c0c696c05377a586d
---
1 file changed, 2 insertions(+)
diff --git a/core/res/AndroidManifest.xml b/core/res/AndroidManifest.xml
-index 58fb5f533c1..2489c9882fe 100644
+index ad2a4afcbef..9062a7162fd 100644
--- a/core/res/AndroidManifest.xml
+++ b/core/res/AndroidManifest.xml
-@@ -524,6 +524,8 @@
+@@ -526,6 +526,8 @@
<!-- ====================================================================== -->
<eat-comment />
--- /dev/null
+From a1519b0905027158ff105f490a6bb6c246bd2c1d 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/
+
+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
+to StrictMode and SystemUI is crashing.
+
+So we need that StrictMode authorize files under /system OR /data/system/theme
+
+Logcat of the issue:
+
+E AndroidRuntime: Caused by: android.os.FileUriExposedException: file:///data/system/theme/audio/ui/LowBattery.ogg exposed beyond app through Notification.sound
+E AndroidRuntime: at android.os.StrictMode.onFileUriExposed(StrictMode.java:1799)
+E AndroidRuntime: at android.net.Uri.checkFileUriExposed(Uri.java:2346)
+E AndroidRuntime: at android.app.NotificationManager.notifyAsUser(NotificationManager.java:300)
+
+Change-Id: I154dc4280de8eaf891772a9632283e9f547f5718
+(cherry picked from commit 838f6466d39a100f9709ac253a6d7358ca66829f)
+---
+ core/java/android/net/Uri.java | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/core/java/android/net/Uri.java b/core/java/android/net/Uri.java
+index 09af05c0dfb..3fd40428efb 100644
+--- a/core/java/android/net/Uri.java
++++ b/core/java/android/net/Uri.java
+@@ -2342,7 +2342,8 @@ public abstract class Uri implements Parcelable, Comparable<Uri> {
+ * @hide
+ */
+ public void checkFileUriExposed(String location) {
+- if ("file".equals(getScheme()) && !getPath().startsWith("/system/")) {
++ if ("file".equals(getScheme()) && !(getPath().startsWith("/system/")
++ || getPath().startsWith("/data/system/theme/"))) {
+ StrictMode.onFileUriExposed(this, location);
+ }
+ }
+--
+2.11.1
+