Initial unified commit for Android 14, with "light" GSI target
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
From 80d66b7f255176e7cf761ce9c62c436cb729df71 Mon Sep 17 00:00:00 2001
|
||||
From: Andy CrossGate Yan <GeForce8800Ultra@gmail.com>
|
||||
Date: Thu, 5 Sep 2019 02:08:22 +0000
|
||||
Subject: [PATCH 1/2] vendor_lineage: Log privapp-permissions whitelist
|
||||
violations instead
|
||||
|
||||
Change-Id: I49dba61f332253e291a65e79ca70d9a07d45bb07
|
||||
---
|
||||
config/common.mk | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/config/common.mk b/config/common.mk
|
||||
index 7048c9cb..9dc5c710 100644
|
||||
--- a/config/common.mk
|
||||
+++ b/config/common.mk
|
||||
@@ -74,9 +74,9 @@ PRODUCT_COPY_FILES += \
|
||||
PRODUCT_COPY_FILES += \
|
||||
vendor/lineage/config/permissions/org.lineageos.android.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/permissions/org.lineageos.android.xml
|
||||
|
||||
-# Enforce privapp-permissions whitelist
|
||||
+# Log privapp-permissions whitelist violations
|
||||
PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \
|
||||
- ro.control_privapp_permissions=enforce
|
||||
+ ro.control_privapp_permissions=log
|
||||
|
||||
ifneq ($(TARGET_DISABLE_LINEAGE_SDK), true)
|
||||
# Lineage SDK
|
||||
--
|
||||
2.25.1
|
||||
|
||||
@@ -0,0 +1,34 @@
|
||||
From 9218670153d5aa40fd05f51d89240fc7859293a2 Mon Sep 17 00:00:00 2001
|
||||
From: Andy CrossGate Yan <GeForce8800Ultra@gmail.com>
|
||||
Date: Mon, 14 Mar 2022 03:44:59 +0000
|
||||
Subject: [PATCH 2/2] Revert "overlay: Default to night mode"
|
||||
|
||||
This reverts commit 4d4e39a845d54e37b20728f1448ae6e3fde4b97d.
|
||||
|
||||
Change-Id: I036bdd576e536392cf41e3c536d5ca2eb04e5a0f
|
||||
---
|
||||
.../common/frameworks/base/core/res/res/values/config.xml | 8 --------
|
||||
1 file changed, 8 deletions(-)
|
||||
|
||||
diff --git a/overlay/common/frameworks/base/core/res/res/values/config.xml b/overlay/common/frameworks/base/core/res/res/values/config.xml
|
||||
index 94687fe1..579b98f7 100644
|
||||
--- a/overlay/common/frameworks/base/core/res/res/values/config.xml
|
||||
+++ b/overlay/common/frameworks/base/core/res/res/values/config.xml
|
||||
@@ -146,14 +146,6 @@
|
||||
<!-- Whether this device is supporting the camera toggle -->
|
||||
<bool name="config_supportsCamToggle">true</bool>
|
||||
|
||||
- <!-- Control the default night mode to use when there is no other mode override set.
|
||||
- One of the following values (see UiModeManager.java):
|
||||
- 0 - MODE_NIGHT_AUTO
|
||||
- 1 - MODE_NIGHT_NO
|
||||
- 2 - MODE_NIGHT_YES
|
||||
- -->
|
||||
- <integer name="config_defaultNightMode">2</integer>
|
||||
-
|
||||
<!-- Boolean indicating whether the HWC setColorTransform function can be performed efficiently
|
||||
in hardware. -->
|
||||
<bool name="config_setColorTransformAccelerated">true</bool>
|
||||
--
|
||||
2.25.1
|
||||
|
||||
Reference in New Issue
Block a user