Initial unified commit for Android 12, syncing up to v400.a
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
From 29dda55886a296b913d358f292e67ac6d149830e Mon Sep 17 00:00:00 2001
|
||||
From: Andy CrossGate Yan <GeForce8800Ultra@gmail.com>
|
||||
Date: Tue, 26 Oct 2021 08:03:39 +0000
|
||||
Subject: [PATCH] [TEMP] Settings: Hack in LiveDisplay entrypoint
|
||||
|
||||
Change-Id: Icec153e3d9203bba8bb5b000ecf537397058b349
|
||||
---
|
||||
res/xml/display_settings.xml | 5 +++++
|
||||
1 file changed, 5 insertions(+)
|
||||
|
||||
diff --git a/res/xml/display_settings.xml b/res/xml/display_settings.xml
|
||||
index c48dcbcaef..fa5d3cc77e 100644
|
||||
--- a/res/xml/display_settings.xml
|
||||
+++ b/res/xml/display_settings.xml
|
||||
@@ -16,6 +16,7 @@
|
||||
|
||||
<PreferenceScreen
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
+ xmlns:lineage="http://schemas.android.com/apk/res/lineageos.platform"
|
||||
xmlns:settings="http://schemas.android.com/apk/res-auto"
|
||||
android:key="display_settings_screen"
|
||||
android:title="@string/display_settings"
|
||||
@@ -85,6 +86,10 @@
|
||||
<PreferenceCategory
|
||||
android:title="@string/category_name_color">
|
||||
|
||||
+ <org.lineageos.internal.lineageparts.LineagePartsPreference
|
||||
+ android:key="livedisplay"
|
||||
+ lineage:requiresConfig="@*lineageos.platform:bool/config_enableLiveDisplay" />
|
||||
+
|
||||
<com.android.settings.widget.PrimarySwitchPreference
|
||||
android:key="night_display"
|
||||
android:title="@string/night_display_title"
|
||||
--
|
||||
2.25.1
|
||||
|
||||
Reference in New Issue
Block a user