Changes for April 2024
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
From 2a644e6a7d3dbdea344fc24408c86e0676811333 Mon Sep 17 00:00:00 2001
|
||||
From 6c64bd7235f1c7b080fd95dc7a199350c740d8b0 Mon Sep 17 00:00:00 2001
|
||||
From: Andy CrossGate Yan <GeForce8800Ultra@gmail.com>
|
||||
Date: Sun, 20 Jun 2021 09:08:43 +0000
|
||||
Subject: [PATCH 1/2] build: Integrate prop modifications (1/2)
|
||||
@@ -9,15 +9,15 @@ Change-Id: I24f54937e3e542b7c29ea86d24e3f523583a0c61
|
||||
1 file changed, 7 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/tools/buildinfo.sh b/tools/buildinfo.sh
|
||||
index 4c82ec9edc..c01872c369 100755
|
||||
index e68162a6fe..ba29698719 100755
|
||||
--- a/tools/buildinfo.sh
|
||||
+++ b/tools/buildinfo.sh
|
||||
@@ -9,7 +9,7 @@ if [ "$BOARD_USE_VBMETA_DIGTEST_IN_FINGERPRINT" = "true" ] ; then
|
||||
else
|
||||
echo "ro.build.id=$BUILD_ID"
|
||||
echo "ro.build.id?=$BUILD_ID"
|
||||
fi
|
||||
-echo "ro.build.display.id=$BUILD_DISPLAY_ID"
|
||||
+echo "ro.build.display.id=$BUILD_ID"
|
||||
-echo "ro.build.display.id?=$BUILD_DISPLAY_ID"
|
||||
+echo "ro.build.display.id?=$BUILD_ID"
|
||||
echo "ro.build.version.incremental=$BUILD_NUMBER"
|
||||
echo "ro.build.version.sdk=$PLATFORM_SDK_VERSION"
|
||||
echo "ro.build.version.preview_sdk=$PLATFORM_PREVIEW_SDK_VERSION"
|
||||
@@ -30,7 +30,7 @@ index 4c82ec9edc..c01872c369 100755
|
||||
echo "ro.build.date.utc=`$DATE +%s`"
|
||||
echo "ro.build.type=$TARGET_BUILD_TYPE"
|
||||
echo "ro.build.user=$BUILD_USERNAME"
|
||||
@@ -55,5 +55,10 @@ if [ -n "$BUILD_THUMBPRINT" ] ; then
|
||||
@@ -57,5 +57,10 @@ if [ -n "$BUILD_THUMBPRINT" ] ; then
|
||||
fi
|
||||
|
||||
echo "ro.lineage.device=$LINEAGE_DEVICE"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
From 614df52d701e164b0da9586209e4a45e404df52b Mon Sep 17 00:00:00 2001
|
||||
From 5266372262a0d48bbb6251c6f8af75c01c76ab5c Mon Sep 17 00:00:00 2001
|
||||
From: Andy CrossGate Yan <GeForce8800Ultra@gmail.com>
|
||||
Date: Sat, 16 Oct 2021 00:39:15 +0000
|
||||
Subject: [PATCH 2/2] build: Remove Stk (1/2)
|
||||
@@ -9,7 +9,7 @@ Change-Id: I24ef17c74c3137a11b463cde96c74d0edc853edd
|
||||
1 file changed, 1 deletion(-)
|
||||
|
||||
diff --git a/target/product/generic_system.mk b/target/product/generic_system.mk
|
||||
index 98d6046854..da9adc3af5 100644
|
||||
index 08a7cdf83e..5afb9a3a99 100644
|
||||
--- a/target/product/generic_system.mk
|
||||
+++ b/target/product/generic_system.mk
|
||||
@@ -33,7 +33,6 @@ PRODUCT_PACKAGES += \
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
From 9e9d9ca5a1497cee04b47825e37dbded5fb90bab Mon Sep 17 00:00:00 2001
|
||||
From a33b94c7678c5add9318c428ed51bc5bb4f18e3d Mon Sep 17 00:00:00 2001
|
||||
From: Andy CrossGate Yan <GeForce8800Ultra@gmail.com>
|
||||
Date: Sun, 20 Jun 2021 03:39:32 +0000
|
||||
Subject: [PATCH 02/21] Add MiuiNavbarOverlay
|
||||
Subject: [PATCH 01/20] Add MiuiNavbarOverlay
|
||||
|
||||
Change-Id: I0e6791abc3c9521d7dc612df2fec2b041affe7e9
|
||||
---
|
||||
@@ -1,52 +0,0 @@
|
||||
From a72755422c5a5a8ddd6bb4ca94cd98672f25b30b Mon Sep 17 00:00:00 2001
|
||||
From: Andy CrossGate Yan <GeForce8800Ultra@gmail.com>
|
||||
Date: Sun, 18 Jun 2023 19:33:27 +0800
|
||||
Subject: [PATCH 01/21] Add keylayout for Backbone One for Android, with AB/XY
|
||||
keys swapped
|
||||
|
||||
Change-Id: Ia057c084099015b544c926cd57c37b4ac314867a
|
||||
---
|
||||
data/keyboards/Vendor_358a_Product_0201.kl | 31 ++++++++++++++++++++++
|
||||
1 file changed, 31 insertions(+)
|
||||
create mode 100644 data/keyboards/Vendor_358a_Product_0201.kl
|
||||
|
||||
diff --git a/data/keyboards/Vendor_358a_Product_0201.kl b/data/keyboards/Vendor_358a_Product_0201.kl
|
||||
new file mode 100644
|
||||
index 000000000000..e15907f9c6f2
|
||||
--- /dev/null
|
||||
+++ b/data/keyboards/Vendor_358a_Product_0201.kl
|
||||
@@ -0,0 +1,31 @@
|
||||
+#
|
||||
+# Backbone One for Android
|
||||
+#
|
||||
+
|
||||
+# AB/XY swapped
|
||||
+key 305 BUTTON_A
|
||||
+key 304 BUTTON_B
|
||||
+key 308 BUTTON_X
|
||||
+key 307 BUTTON_Y
|
||||
+
|
||||
+key 310 BUTTON_L1
|
||||
+key 311 BUTTON_R1
|
||||
+key 312 BUTTON_L2
|
||||
+key 313 BUTTON_R2
|
||||
+
|
||||
+key 317 BUTTON_THUMBL
|
||||
+key 318 BUTTON_THUMBR
|
||||
+
|
||||
+axis 0x00 X flat 4096
|
||||
+axis 0x01 Y flat 4096
|
||||
+axis 0x02 Z flat 4096
|
||||
+axis 0x05 RZ flat 4096
|
||||
+
|
||||
+axis 0x0a LTRIGGER
|
||||
+axis 0x09 RTRIGGER
|
||||
+
|
||||
+axis 0x10 HAT_X
|
||||
+axis 0x11 HAT_Y
|
||||
+
|
||||
+key 315 BUTTON_START
|
||||
+key 314 BUTTON_SELECT
|
||||
--
|
||||
2.34.1
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
From b2dee98e6f08035160ae2e9b792774cea1903106 Mon Sep 17 00:00:00 2001
|
||||
From d7b0a165e9c482f8efedd6911173e8c8b74ed08c Mon Sep 17 00:00:00 2001
|
||||
From: Hikari-no-Tenshi <kyryljan.serhij@gmail.com>
|
||||
Date: Thu, 30 Jan 2020 22:20:54 +0200
|
||||
Subject: [PATCH 03/21] Disable Bluetooth by default
|
||||
Subject: [PATCH 02/20] Disable Bluetooth by default
|
||||
|
||||
Change-Id: Iea5d24f977928bf01cd7a46b98c75c0a4bd6a23c
|
||||
---
|
||||
@@ -9,7 +9,7 @@ Change-Id: Iea5d24f977928bf01cd7a46b98c75c0a4bd6a23c
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/packages/SettingsProvider/res/values/defaults.xml b/packages/SettingsProvider/res/values/defaults.xml
|
||||
index a93cd62e6301..b63896f09710 100644
|
||||
index 89a8dd95d3c3..576c85caf2e2 100644
|
||||
--- a/packages/SettingsProvider/res/values/defaults.xml
|
||||
+++ b/packages/SettingsProvider/res/values/defaults.xml
|
||||
@@ -38,7 +38,7 @@
|
||||
@@ -1,7 +1,7 @@
|
||||
From 0f053cd66bac314b38669190d4a2386428314838 Mon Sep 17 00:00:00 2001
|
||||
From 82c401678edc0d3426e9a11b59ac488497a43822 Mon Sep 17 00:00:00 2001
|
||||
From: Andy CrossGate Yan <GeForce8800Ultra@gmail.com>
|
||||
Date: Mon, 27 Sep 2021 16:30:00 +0000
|
||||
Subject: [PATCH 04/21] Disable cursor drag by default for editable TextViews
|
||||
Subject: [PATCH 03/20] Disable cursor drag by default for editable TextViews
|
||||
|
||||
Requested by @TadiT7
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
From 999e9b865755a14a241e3dae2be11ced1e7c587e Mon Sep 17 00:00:00 2001
|
||||
From dd7274a304c63b021e519c1d8828295b8b9d3d97 Mon Sep 17 00:00:00 2001
|
||||
From: Andy CrossGate Yan <GeForce8800Ultra@gmail.com>
|
||||
Date: Sun, 3 Jul 2022 00:08:42 +0000
|
||||
Subject: [PATCH 05/21] Disable "RESTRICTED bucket" toast
|
||||
Subject: [PATCH 04/20] Disable "RESTRICTED bucket" toast
|
||||
|
||||
Change-Id: I20a328d3c77962f3a6095bfca42d0b165a093ce8
|
||||
---
|
||||
@@ -9,7 +9,7 @@ Change-Id: I20a328d3c77962f3a6095bfca42d0b165a093ce8
|
||||
1 file changed, 1 insertion(+), 19 deletions(-)
|
||||
|
||||
diff --git a/apex/jobscheduler/service/java/com/android/server/usage/AppStandbyController.java b/apex/jobscheduler/service/java/com/android/server/usage/AppStandbyController.java
|
||||
index 7d3837786be9..d12210f704fa 100644
|
||||
index 12f455ad0144..a76a7f67a91a 100644
|
||||
--- a/apex/jobscheduler/service/java/com/android/server/usage/AppStandbyController.java
|
||||
+++ b/apex/jobscheduler/service/java/com/android/server/usage/AppStandbyController.java
|
||||
@@ -1846,25 +1846,7 @@ public class AppStandbyController
|
||||
@@ -1,7 +1,7 @@
|
||||
From 47391e102c2ab15bdf913a9856e20dba82668472 Mon Sep 17 00:00:00 2001
|
||||
From ea4c9bc76e5ac0f08c4155fed9a57e86521d11a7 Mon Sep 17 00:00:00 2001
|
||||
From: Andy CrossGate Yan <GeForce8800Ultra@gmail.com>
|
||||
Date: Thu, 2 Sep 2021 16:15:19 +0000
|
||||
Subject: [PATCH 06/21] Keyguard: Adjust clock style
|
||||
Subject: [PATCH 05/20] Keyguard: Adjust clock style
|
||||
|
||||
Thinner font, less padding and unintrusive colors
|
||||
|
||||
@@ -14,11 +14,11 @@ Change-Id: I21e5d5bf37d724e75ebce4cd89349e0cc4dfc910
|
||||
.../android/systemui/shared/clocks/DefaultClockController.kt | 4 ++--
|
||||
.../SystemUI/res-keyguard/layout/keyguard_clock_switch.xml | 2 +-
|
||||
.../SystemUI/res-keyguard/layout/keyguard_slice_view.xml | 2 +-
|
||||
packages/SystemUI/res-keyguard/values/dimens.xml | 2 +-
|
||||
packages/SystemUI/res-keyguard/values/dimens.xml | 4 ++--
|
||||
packages/SystemUI/res-keyguard/values/styles.xml | 2 --
|
||||
packages/SystemUI/res/layout/keyguard_status_bar.xml | 2 +-
|
||||
packages/SystemUI/res/values/styles.xml | 4 ++--
|
||||
11 files changed, 17 insertions(+), 13 deletions(-)
|
||||
11 files changed, 18 insertions(+), 14 deletions(-)
|
||||
create mode 100644 packages/SystemUI/customization/res/values/colors.xml
|
||||
|
||||
diff --git a/packages/SystemUI/customization/res/layout/clock_default_large.xml b/packages/SystemUI/customization/res/layout/clock_default_large.xml
|
||||
@@ -58,10 +58,10 @@ index 000000000000..f80af4376ff1
|
||||
+ <color name="clock_default_color_light">@*android:color/primary_text_material_light</color>
|
||||
+</resources>
|
||||
diff --git a/packages/SystemUI/customization/res/values/dimens.xml b/packages/SystemUI/customization/res/values/dimens.xml
|
||||
index 8eb8132b07b9..02688e5b1329 100644
|
||||
index c574d1fc674b..0a2c81f1cb38 100644
|
||||
--- a/packages/SystemUI/customization/res/values/dimens.xml
|
||||
+++ b/packages/SystemUI/customization/res/values/dimens.xml
|
||||
@@ -31,5 +31,5 @@
|
||||
@@ -32,5 +32,5 @@
|
||||
<!-- additional offset for clock switch area items -->
|
||||
<dimen name="small_clock_height">114dp</dimen>
|
||||
<dimen name="small_clock_padding_top">28dp</dimen>
|
||||
@@ -71,10 +71,10 @@ index 8eb8132b07b9..02688e5b1329 100644
|
||||
+ <dimen name="clock_padding_start">22dp</dimen>
|
||||
+</resources>
|
||||
diff --git a/packages/SystemUI/customization/src/com/android/systemui/shared/clocks/DefaultClockController.kt b/packages/SystemUI/customization/src/com/android/systemui/shared/clocks/DefaultClockController.kt
|
||||
index b28920c590c5..a786adad32e5 100644
|
||||
index 01c03b1f25f6..9cff7ef5911b 100644
|
||||
--- a/packages/SystemUI/customization/src/com/android/systemui/shared/clocks/DefaultClockController.kt
|
||||
+++ b/packages/SystemUI/customization/src/com/android/systemui/shared/clocks/DefaultClockController.kt
|
||||
@@ -157,9 +157,9 @@ class DefaultClockController(
|
||||
@@ -168,9 +168,9 @@ class DefaultClockController(
|
||||
if (seedColor != null) {
|
||||
seedColor!!
|
||||
} else if (isRegionDark) {
|
||||
@@ -113,12 +113,15 @@ index 7c5dbc247428..64657547621f 100644
|
||||
/>
|
||||
</com.android.keyguard.KeyguardSliceView>
|
||||
diff --git a/packages/SystemUI/res-keyguard/values/dimens.xml b/packages/SystemUI/res-keyguard/values/dimens.xml
|
||||
index 8c817330953c..cfbc3b96da7c 100644
|
||||
index 0628c3e957b1..ccb729de92e1 100644
|
||||
--- a/packages/SystemUI/res-keyguard/values/dimens.xml
|
||||
+++ b/packages/SystemUI/res-keyguard/values/dimens.xml
|
||||
@@ -97,7 +97,7 @@
|
||||
@@ -95,9 +95,9 @@
|
||||
<dimen name="num_pad_key_margin_end">12dp</dimen>
|
||||
|
||||
<!-- additional offset for clock switch area items -->
|
||||
<dimen name="below_clock_padding_start">32dp</dimen>
|
||||
- <dimen name="below_clock_padding_start">32dp</dimen>
|
||||
+ <dimen name="below_clock_padding_start">28dp</dimen>
|
||||
<dimen name="below_clock_padding_end">16dp</dimen>
|
||||
- <dimen name="below_clock_padding_start_icons">28dp</dimen>
|
||||
+ <dimen name="below_clock_padding_start_icons">22dp</dimen>
|
||||
@@ -152,10 +155,10 @@ index fc0bf242dc1e..388ab51a6245 100644
|
||||
android:singleLine="true"
|
||||
systemui:showMissingSim="true"
|
||||
diff --git a/packages/SystemUI/res/values/styles.xml b/packages/SystemUI/res/values/styles.xml
|
||||
index af92c021ec62..847b8a961322 100644
|
||||
index 7ed9f91f30cd..2cb0c89cd785 100644
|
||||
--- a/packages/SystemUI/res/values/styles.xml
|
||||
+++ b/packages/SystemUI/res/values/styles.xml
|
||||
@@ -311,7 +311,7 @@
|
||||
@@ -329,7 +329,7 @@
|
||||
<item name="darkIconTheme">@style/DualToneDarkTheme</item>
|
||||
<item name="wallpaperTextColor">@*android:color/primary_text_material_dark</item>
|
||||
<item name="wallpaperTextColorSecondary">@*android:color/secondary_text_material_dark</item>
|
||||
@@ -164,7 +167,7 @@ index af92c021ec62..847b8a961322 100644
|
||||
<item name="android:colorError">@*android:color/error_color_material_dark</item>
|
||||
<item name="*android:lockPatternStyle">@style/LockPatternViewStyle</item>
|
||||
<item name="lockPatternStyle">@style/LockPatternContainerStyle</item>
|
||||
@@ -329,7 +329,7 @@
|
||||
@@ -347,7 +347,7 @@
|
||||
<style name="Theme.SystemUI.LightWallpaper">
|
||||
<item name="wallpaperTextColor">@*android:color/primary_text_material_light</item>
|
||||
<item name="wallpaperTextColorSecondary">@*android:color/secondary_text_material_light</item>
|
||||
@@ -1,7 +1,7 @@
|
||||
From 3bf2d7ef087a2f458ba67ab2adfdfea5ae58f8da Mon Sep 17 00:00:00 2001
|
||||
From 4aa38a0e428d24ffd95d1a0376d01607be3e3647 Mon Sep 17 00:00:00 2001
|
||||
From: Andy CrossGate Yan <GeForce8800Ultra@gmail.com>
|
||||
Date: Sat, 2 Nov 2019 06:41:03 +0000
|
||||
Subject: [PATCH 07/21] Keyguard: Hide padlock unless UDFPS is in use
|
||||
Subject: [PATCH 06/20] Keyguard: Hide padlock unless UDFPS is in use
|
||||
|
||||
Fair enough Google, but don't give me that otherwise
|
||||
|
||||
@@ -11,10 +11,10 @@ Change-Id: Ie91e80ca5c6637a51a8acc72fb28cd6ac2a7abb6
|
||||
1 file changed, 3 insertions(+), 14 deletions(-)
|
||||
|
||||
diff --git a/packages/SystemUI/src/com/android/keyguard/LockIconViewController.java b/packages/SystemUI/src/com/android/keyguard/LockIconViewController.java
|
||||
index 951a6aeef11b..269c72d75e8f 100644
|
||||
index 175fcdb6e11a..2472def4d037 100644
|
||||
--- a/packages/SystemUI/src/com/android/keyguard/LockIconViewController.java
|
||||
+++ b/packages/SystemUI/src/com/android/keyguard/LockIconViewController.java
|
||||
@@ -310,25 +310,14 @@ public class LockIconViewController extends ViewController<LockIconView> impleme
|
||||
@@ -360,25 +360,14 @@ public class LockIconViewController implements Dumpable {
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,28 @@
|
||||
From 8fa49723b3ae2b67b95b7352b885044988219e03 Mon Sep 17 00:00:00 2001
|
||||
From: Andy CrossGate Yan <GeForce8800Ultra@gmail.com>
|
||||
Date: Wed, 1 Sep 2021 14:41:53 +0000
|
||||
Subject: [PATCH 07/20] Keyguard: Default to small clock (1/3)
|
||||
|
||||
It looks alright actually, but as always breaks under landscape
|
||||
|
||||
Change-Id: I434d033ecae597ed2a7b2ed71e96ba1a963e9cc3
|
||||
---
|
||||
core/res/res/values/config.xml | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/core/res/res/values/config.xml b/core/res/res/values/config.xml
|
||||
index c223ec0d6ed0..19f0ee14d5d5 100644
|
||||
--- a/core/res/res/values/config.xml
|
||||
+++ b/core/res/res/values/config.xml
|
||||
@@ -1498,7 +1498,7 @@
|
||||
<!-- Provides default value for double line clock in lock screen setting:
|
||||
0 - Don't show double line clock
|
||||
1 - Show double line clock in lock screen (default) -->
|
||||
- <integer name="config_doublelineClockDefault">1</integer>
|
||||
+ <integer name="config_doublelineClockDefault">0</integer>
|
||||
|
||||
<!-- If true, enables verification of the lockscreen credential in the factory reset protection
|
||||
flow. This should be true if gatekeeper / weaver credentials can still be checked after a
|
||||
--
|
||||
2.34.1
|
||||
|
||||
@@ -1,28 +0,0 @@
|
||||
From 4748bf4af0e391f772c498976d3fed372d688de7 Mon Sep 17 00:00:00 2001
|
||||
From: Andy CrossGate Yan <GeForce8800Ultra@gmail.com>
|
||||
Date: Wed, 1 Sep 2021 14:41:53 +0000
|
||||
Subject: [PATCH 08/21] Keyguard: Default to small clock (1/3)
|
||||
|
||||
It looks alright actually, but as always breaks under landscape
|
||||
|
||||
Change-Id: I434d033ecae597ed2a7b2ed71e96ba1a963e9cc3
|
||||
---
|
||||
.../src/com/android/keyguard/KeyguardClockSwitchController.java | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/packages/SystemUI/src/com/android/keyguard/KeyguardClockSwitchController.java b/packages/SystemUI/src/com/android/keyguard/KeyguardClockSwitchController.java
|
||||
index 94f6dba792e8..7a72d10975fa 100644
|
||||
--- a/packages/SystemUI/src/com/android/keyguard/KeyguardClockSwitchController.java
|
||||
+++ b/packages/SystemUI/src/com/android/keyguard/KeyguardClockSwitchController.java
|
||||
@@ -543,7 +543,7 @@ public class KeyguardClockSwitchController extends ViewController<KeyguardClockS
|
||||
|
||||
private void updateDoubleLineClock() {
|
||||
mCanShowDoubleLineClock = mSecureSettings.getIntForUser(
|
||||
- Settings.Secure.LOCKSCREEN_USE_DOUBLE_LINE_CLOCK, 1,
|
||||
+ Settings.Secure.LOCKSCREEN_USE_DOUBLE_LINE_CLOCK, 0,
|
||||
UserHandle.USER_CURRENT) != 0;
|
||||
|
||||
if (!mCanShowDoubleLineClock) {
|
||||
--
|
||||
2.34.1
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
From 654cfde395c0a1704fee02d3b9bbb27246e488ca Mon Sep 17 00:00:00 2001
|
||||
From e1ea930f65172cd234a78c5e2c4fa3eedd06f4a1 Mon Sep 17 00:00:00 2001
|
||||
From: Andy CrossGate Yan <GeForce8800Ultra@gmail.com>
|
||||
Date: Sat, 2 Nov 2019 08:31:36 +0000
|
||||
Subject: [PATCH 09/21] Keyguard: Refine indication text
|
||||
Subject: [PATCH 08/20] Keyguard: Refine indication text
|
||||
|
||||
Change-Id: Ib771c35610f712a1de34736e817bcfe616ac37d8
|
||||
---
|
||||
@@ -26,7 +26,7 @@ index f0cff767b74d..9edd294a8981 100644
|
||||
|
||||
<style name="TextAppearance.Keyguard.BottomArea.Button">
|
||||
diff --git a/packages/SystemUI/res/layout/keyguard_bottom_area.xml b/packages/SystemUI/res/layout/keyguard_bottom_area.xml
|
||||
index 66c57fc2a9ac..dde97f679c9a 100644
|
||||
index 6d7ce0623817..4d1af83c9d3b 100644
|
||||
--- a/packages/SystemUI/res/layout/keyguard_bottom_area.xml
|
||||
+++ b/packages/SystemUI/res/layout/keyguard_bottom_area.xml
|
||||
@@ -35,6 +35,7 @@
|
||||
@@ -38,12 +38,12 @@ index 66c57fc2a9ac..dde97f679c9a 100644
|
||||
android:paddingEnd="@dimen/keyguard_indication_text_padding"
|
||||
android:textAppearance="@style/TextAppearance.Keyguard.BottomArea"
|
||||
diff --git a/packages/SystemUI/res/values/dimens.xml b/packages/SystemUI/res/values/dimens.xml
|
||||
index 0fdbf89d760a..ca2455548c2d 100644
|
||||
index 2852403c8a21..bb1b552ab1c1 100644
|
||||
--- a/packages/SystemUI/res/values/dimens.xml
|
||||
+++ b/packages/SystemUI/res/values/dimens.xml
|
||||
@@ -857,7 +857,7 @@
|
||||
@@ -897,7 +897,7 @@
|
||||
|
||||
<dimen name="keyguard_security_container_padding_top">20dp</dimen>
|
||||
<dimen name="keyguard_translate_distance_on_swipe_up">-200dp</dimen>
|
||||
|
||||
- <dimen name="keyguard_indication_margin_bottom">32dp</dimen>
|
||||
+ <dimen name="keyguard_indication_margin_bottom">16dp</dimen>
|
||||
@@ -51,7 +51,7 @@ index 0fdbf89d760a..ca2455548c2d 100644
|
||||
<dimen name="ambient_indication_margin_bottom">71dp</dimen>
|
||||
|
||||
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/KeyguardIndicationController.java b/packages/SystemUI/src/com/android/systemui/statusbar/KeyguardIndicationController.java
|
||||
index feb02586a820..eaca85f8d55d 100644
|
||||
index 08415cb5b0cb..a1e865e96a6d 100644
|
||||
--- a/packages/SystemUI/src/com/android/systemui/statusbar/KeyguardIndicationController.java
|
||||
+++ b/packages/SystemUI/src/com/android/systemui/statusbar/KeyguardIndicationController.java
|
||||
@@ -445,7 +445,6 @@ public class KeyguardIndicationController {
|
||||
@@ -111,7 +111,7 @@ index feb02586a820..eaca85f8d55d 100644
|
||||
|
||||
private void updateLockScreenLogoutView() {
|
||||
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/phone/KeyguardIndicationTextView.java b/packages/SystemUI/src/com/android/systemui/statusbar/phone/KeyguardIndicationTextView.java
|
||||
index 29a249fcaa41..67f5201bbf2e 100644
|
||||
index c6690c91c1f8..d6c8af74d71a 100644
|
||||
--- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/KeyguardIndicationTextView.java
|
||||
+++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/KeyguardIndicationTextView.java
|
||||
@@ -46,7 +46,7 @@ public class KeyguardIndicationTextView extends TextView {
|
||||
@@ -1,10 +1,10 @@
|
||||
From 6961fc087e920eac71bca4673b49d7ac193ee5a1 Mon Sep 17 00:00:00 2001
|
||||
From 8ce314fccd101ace65976432c56f08aecfa3db1b Mon Sep 17 00:00:00 2001
|
||||
From: Andy CrossGate Yan <GeForce8800Ultra@gmail.com>
|
||||
Date: Sat, 20 Mar 2021 10:35:14 +0000
|
||||
Subject: [PATCH 10/21] Keyguard/UI: Fix status bar / quick settings margins
|
||||
Subject: [PATCH 09/20] Keyguard/UI: Fix status bar / quick settings margins
|
||||
and paddings
|
||||
|
||||
Last revised on 2024/01/21, targeting U
|
||||
Last revised on 2024/04/04, targeting U QPR2
|
||||
|
||||
The way I think SB/QS margins/paddings should work:
|
||||
- Devices with left notch: [notch_definition][status_bar_padding_start][content]...[content][status_bar_padding_end][rounded_corner_content_padding]
|
||||
@@ -21,12 +21,14 @@ As a result, below changes have been made:
|
||||
Change-Id: Ic91fa398813e1907297bb0892c444d96405950e7
|
||||
---
|
||||
packages/SystemUI/res/layout/keyguard_status_bar.xml | 2 +-
|
||||
packages/SystemUI/res/layout/operator_name.xml | 3 ++-
|
||||
packages/SystemUI/res/values-sw600dp/dimens.xml | 7 ++-----
|
||||
packages/SystemUI/res/values/dimens.xml | 6 +++---
|
||||
packages/SystemUI/res/xml/qqs_header.xml | 4 ++--
|
||||
.../android/systemui/shade/ShadeHeaderController.kt | 10 +++++++---
|
||||
.../systemui/statusbar/OperatorNameViewController.java | 2 +-
|
||||
.../statusbar/phone/KeyguardStatusBarView.java | 7 -------
|
||||
6 files changed, 15 insertions(+), 21 deletions(-)
|
||||
8 files changed, 18 insertions(+), 23 deletions(-)
|
||||
|
||||
diff --git a/packages/SystemUI/res/layout/keyguard_status_bar.xml b/packages/SystemUI/res/layout/keyguard_status_bar.xml
|
||||
index 388ab51a6245..0c4b898055fe 100644
|
||||
@@ -41,8 +43,20 @@ index 388ab51a6245..0c4b898055fe 100644
|
||||
android:layout_toStartOf="@id/system_icons_container"
|
||||
android:gravity="center_vertical"
|
||||
android:ellipsize="marquee"
|
||||
diff --git a/packages/SystemUI/res/layout/operator_name.xml b/packages/SystemUI/res/layout/operator_name.xml
|
||||
index 015e30a5d050..8ae4faee8325 100644
|
||||
--- a/packages/SystemUI/res/layout/operator_name.xml
|
||||
+++ b/packages/SystemUI/res/layout/operator_name.xml
|
||||
@@ -28,5 +28,6 @@
|
||||
android:gravity="center_vertical|start"
|
||||
android:textAppearance="?android:attr/textAppearanceSmall"
|
||||
android:singleLine="true"
|
||||
- android:paddingEnd="5dp" />
|
||||
+ android:paddingEnd="5dp"
|
||||
+ android:visibility="gone" />
|
||||
</com.android.systemui.statusbar.AlphaOptimizedFrameLayout>
|
||||
diff --git a/packages/SystemUI/res/values-sw600dp/dimens.xml b/packages/SystemUI/res/values-sw600dp/dimens.xml
|
||||
index 915dcdb9755f..4a727ad6ce3d 100644
|
||||
index 1e54fc9e1445..6c1cb6ce43cb 100644
|
||||
--- a/packages/SystemUI/res/values-sw600dp/dimens.xml
|
||||
+++ b/packages/SystemUI/res/values-sw600dp/dimens.xml
|
||||
@@ -21,7 +21,7 @@
|
||||
@@ -67,17 +81,17 @@ index 915dcdb9755f..4a727ad6ce3d 100644
|
||||
@@ -81,7 +78,7 @@
|
||||
<dimen name="large_screen_shade_header_height">42dp</dimen>
|
||||
<!-- start padding is smaller to account for status icon margins coming from drawable itself -->
|
||||
<dimen name="shade_header_system_icons_padding_start">3dp</dimen>
|
||||
- <dimen name="shade_header_system_icons_padding_end">4dp</dimen>
|
||||
+ <dimen name="shade_header_system_icons_padding_end">0dp</dimen>
|
||||
<dimen name="shade_header_system_icons_padding_top">2dp</dimen>
|
||||
<dimen name="shade_header_system_icons_padding_bottom">2dp</dimen>
|
||||
<dimen name="hover_system_icons_container_padding_start">3dp</dimen>
|
||||
- <dimen name="hover_system_icons_container_padding_end">4dp</dimen>
|
||||
+ <dimen name="hover_system_icons_container_padding_end">0dp</dimen>
|
||||
<dimen name="hover_system_icons_container_padding_top">2dp</dimen>
|
||||
<dimen name="hover_system_icons_container_padding_bottom">2dp</dimen>
|
||||
|
||||
diff --git a/packages/SystemUI/res/values/dimens.xml b/packages/SystemUI/res/values/dimens.xml
|
||||
index ca2455548c2d..3320f98d1620 100644
|
||||
index bb1b552ab1c1..a6b766f60d6f 100644
|
||||
--- a/packages/SystemUI/res/values/dimens.xml
|
||||
+++ b/packages/SystemUI/res/values/dimens.xml
|
||||
@@ -149,7 +149,7 @@
|
||||
@@ -172,7 +172,7 @@
|
||||
<dimen name="status_bar_clock_size">14sp</dimen>
|
||||
|
||||
<!-- The starting padding for the clock in the status bar. -->
|
||||
@@ -86,7 +100,7 @@ index ca2455548c2d..3320f98d1620 100644
|
||||
|
||||
<!-- The end padding for the clock in the status bar. -->
|
||||
<dimen name="status_bar_clock_end_padding">0dp</dimen>
|
||||
@@ -353,7 +353,7 @@
|
||||
@@ -384,7 +384,7 @@
|
||||
<!-- padding start is a bit smaller than end to account for status icon margin-->
|
||||
<dimen name="status_bar_icons_padding_start">3dp</dimen>
|
||||
|
||||
@@ -95,7 +109,7 @@ index ca2455548c2d..3320f98d1620 100644
|
||||
<dimen name="status_bar_icons_padding_bottom">0dp</dimen>
|
||||
<dimen name="status_bar_icons_padding_top">0dp</dimen>
|
||||
|
||||
@@ -823,7 +823,7 @@
|
||||
@@ -856,7 +856,7 @@
|
||||
<dimen name="kg_framed_avatar_size">32dp</dimen>
|
||||
|
||||
<!-- Margin on the left side of the carrier text on Keyguard -->
|
||||
@@ -125,10 +139,10 @@ index 50a388d0fa64..81d30c210770 100644
|
||||
\ No newline at end of file
|
||||
+</ConstraintSet>
|
||||
diff --git a/packages/SystemUI/src/com/android/systemui/shade/ShadeHeaderController.kt b/packages/SystemUI/src/com/android/systemui/shade/ShadeHeaderController.kt
|
||||
index 5cdd6f44d4a0..098eb27995d8 100644
|
||||
index 5a5cb792c10b..874579b83aca 100644
|
||||
--- a/packages/SystemUI/src/com/android/systemui/shade/ShadeHeaderController.kt
|
||||
+++ b/packages/SystemUI/src/com/android/systemui/shade/ShadeHeaderController.kt
|
||||
@@ -143,6 +143,8 @@ constructor(
|
||||
@@ -144,6 +144,8 @@ constructor(
|
||||
|
||||
private var roundedCorners = 0
|
||||
private var cutout: DisplayCutout? = null
|
||||
@@ -137,9 +151,9 @@ index 5cdd6f44d4a0..098eb27995d8 100644
|
||||
private var lastInsets: WindowInsets? = null
|
||||
private var nextAlarmIntent: PendingIntent? = null
|
||||
private var textColorPrimary = Color.TRANSPARENT
|
||||
@@ -415,14 +417,17 @@ constructor(
|
||||
val cutoutLeft = sbInsets.first
|
||||
val cutoutRight = sbInsets.second
|
||||
@@ -421,14 +423,17 @@ constructor(
|
||||
val cutoutLeft = sbInsets.left
|
||||
val cutoutRight = sbInsets.right
|
||||
val hasCornerCutout: Boolean = insetsProvider.currentRotationHasCornerCutout()
|
||||
+ roundedCorners = resources.getDimensionPixelSize(R.dimen.rounded_corner_content_padding)
|
||||
+ statusBarPaddingStart = resources.getDimensionPixelSize(R.dimen.status_bar_padding_start)
|
||||
@@ -157,7 +171,7 @@ index 5cdd6f44d4a0..098eb27995d8 100644
|
||||
header.paddingEnd
|
||||
)
|
||||
|
||||
@@ -543,7 +548,6 @@ constructor(
|
||||
@@ -549,7 +554,6 @@ constructor(
|
||||
}
|
||||
|
||||
private fun updateResources() {
|
||||
@@ -165,8 +179,21 @@ index 5cdd6f44d4a0..098eb27995d8 100644
|
||||
val padding = resources.getDimensionPixelSize(R.dimen.qs_panel_padding)
|
||||
header.setPadding(padding, header.paddingTop, padding, header.paddingBottom)
|
||||
updateQQSPaddings()
|
||||
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/OperatorNameViewController.java b/packages/SystemUI/src/com/android/systemui/statusbar/OperatorNameViewController.java
|
||||
index 8afc72f08656..fe66c21ae568 100644
|
||||
--- a/packages/SystemUI/src/com/android/systemui/statusbar/OperatorNameViewController.java
|
||||
+++ b/packages/SystemUI/src/com/android/systemui/statusbar/OperatorNameViewController.java
|
||||
@@ -86,7 +86,7 @@ public class OperatorNameViewController extends ViewController<OperatorNameView>
|
||||
boolean showOperatorName =
|
||||
mCarrierConfigTracker
|
||||
.getShowOperatorNameInStatusBarConfig(defaultSubInfo.getSubId())
|
||||
- && (mTunerService.getValue(KEY_SHOW_OPERATOR_NAME, 1) != 0);
|
||||
+ && (mTunerService.getValue(KEY_SHOW_OPERATOR_NAME, 0) != 0);
|
||||
mView.update(showOperatorName, mTelephonyManager.isDataCapable(), getDefaultSubInfo());
|
||||
}
|
||||
|
||||
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/phone/KeyguardStatusBarView.java b/packages/SystemUI/src/com/android/systemui/statusbar/phone/KeyguardStatusBarView.java
|
||||
index 5eb3f587a023..be9b32bde0f1 100644
|
||||
index 50ce8a9a14e3..e3480f7a311e 100644
|
||||
--- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/KeyguardStatusBarView.java
|
||||
+++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/KeyguardStatusBarView.java
|
||||
@@ -179,14 +179,7 @@ public class KeyguardStatusBarView extends RelativeLayout {
|
||||
@@ -177,7 +204,7 @@ index 5eb3f587a023..be9b32bde0f1 100644
|
||||
|
||||
- int marginStart = calculateMargin(
|
||||
- getResources().getDimensionPixelSize(R.dimen.keyguard_carrier_text_margin),
|
||||
- mPadding.first);
|
||||
- mPadding.left);
|
||||
- lp.setMarginStart(marginStart);
|
||||
-
|
||||
- mCarrierLabel.setLayoutParams(lp);
|
||||
@@ -1,7 +1,7 @@
|
||||
From 2ea9b12d2f9d2d49ddcc99a7971af35dc15f221c Mon Sep 17 00:00:00 2001
|
||||
From 3628fd11207515219261a1585a4622b42553dd58 Mon Sep 17 00:00:00 2001
|
||||
From: Andy CrossGate Yan <GeForce8800Ultra@gmail.com>
|
||||
Date: Tue, 31 May 2022 00:00:08 +0000
|
||||
Subject: [PATCH 11/21] Revert "SystemUI: Add left padding for keyguard slices"
|
||||
Subject: [PATCH 10/20] Revert "SystemUI: Add left padding for keyguard slices"
|
||||
|
||||
This reverts commit 4a7a4426944e28e70a3eca6a696ff6c7599fb896.
|
||||
---
|
||||
@@ -9,17 +9,17 @@ This reverts commit 4a7a4426944e28e70a3eca6a696ff6c7599fb896.
|
||||
1 file changed, 3 insertions(+), 6 deletions(-)
|
||||
|
||||
diff --git a/packages/SystemUI/src/com/android/keyguard/KeyguardSliceView.java b/packages/SystemUI/src/com/android/keyguard/KeyguardSliceView.java
|
||||
index abb22f526f85..b4f124aa598a 100644
|
||||
index 062ff3828a60..7b5325d4eaa6 100644
|
||||
--- a/packages/SystemUI/src/com/android/keyguard/KeyguardSliceView.java
|
||||
+++ b/packages/SystemUI/src/com/android/keyguard/KeyguardSliceView.java
|
||||
@@ -49,7 +49,6 @@ import com.android.internal.annotations.VisibleForTesting;
|
||||
@@ -48,7 +48,6 @@ import com.android.app.animation.Interpolators;
|
||||
import com.android.internal.annotations.VisibleForTesting;
|
||||
import com.android.internal.graphics.ColorUtils;
|
||||
import com.android.settingslib.Utils;
|
||||
import com.android.systemui.R;
|
||||
-import com.android.systemui.keyguard.KeyguardSliceProvider;
|
||||
import com.android.systemui.res.R;
|
||||
import com.android.systemui.util.wakelock.KeepAwakeAnimationListener;
|
||||
|
||||
import java.io.PrintWriter;
|
||||
@@ -446,15 +445,13 @@ public class KeyguardSliceView extends LinearLayout {
|
||||
|
||||
private void updatePadding() {
|
||||
@@ -1,7 +1,7 @@
|
||||
From e18664e9b380b7b96cc506f8e106903478b4b214 Mon Sep 17 00:00:00 2001
|
||||
From ade83479a6dc1bebd402614ba92c4bf854d7e7c3 Mon Sep 17 00:00:00 2001
|
||||
From: Andy CrossGate Yan <GeForce8800Ultra@gmail.com>
|
||||
Date: Sun, 5 Sep 2021 01:20:12 +0000
|
||||
Subject: [PATCH 12/21] Revert "Update RAT icons to match Silk design"
|
||||
Subject: [PATCH 11/20] Revert "Update RAT icons to match Silk design"
|
||||
|
||||
This reverts commit 084c13c8216f6a899cd3eda04fc1d7acff3d1248.
|
||||
---
|
||||
@@ -1,7 +1,7 @@
|
||||
From 916d532636decc77b67fd22e96507b2c9aaa4267 Mon Sep 17 00:00:00 2001
|
||||
From 28f6fd1c80d461fbd213e789c812b2a368a8585d Mon Sep 17 00:00:00 2001
|
||||
From: Andy CrossGate Yan <GeForce8800Ultra@gmail.com>
|
||||
Date: Thu, 29 Sep 2022 11:27:57 +0000
|
||||
Subject: [PATCH 13/21] Revert "Use the default top clock margin on h800
|
||||
Subject: [PATCH 12/20] Revert "Use the default top clock margin on h800
|
||||
devices"
|
||||
|
||||
This reverts commits 50ba380f4d8d1c2523e0f76295ca556038796bfd
|
||||
@@ -1,7 +1,7 @@
|
||||
From 560702e79e667348a4487f4d34dd6ee2dba5d828 Mon Sep 17 00:00:00 2001
|
||||
From 33269455713b77e8ca2d622309342926d3974677 Mon Sep 17 00:00:00 2001
|
||||
From: Andy CrossGate Yan <GeForce8800Ultra@gmail.com>
|
||||
Date: Wed, 7 Oct 2020 14:00:35 +0000
|
||||
Subject: [PATCH 14/21] UI: Always render into cutouts
|
||||
Subject: [PATCH 13/20] UI: Always render into cutouts
|
||||
|
||||
Eliminates black/white letterboxing in apps, keyguard and QS
|
||||
|
||||
@@ -43,10 +43,10 @@ index 59e0932ecd80..a090a59a1357 100644
|
||||
|
||||
public void setRoundedCorners(RoundedCorners roundedCorners) {
|
||||
diff --git a/packages/SystemUI/src/com/android/systemui/shade/QuickSettingsController.java b/packages/SystemUI/src/com/android/systemui/shade/QuickSettingsController.java
|
||||
index 1842dd110d6d..e14bcc232823 100644
|
||||
index 21de4c81353d..54578d347b2f 100644
|
||||
--- a/packages/SystemUI/src/com/android/systemui/shade/QuickSettingsController.java
|
||||
+++ b/packages/SystemUI/src/com/android/systemui/shade/QuickSettingsController.java
|
||||
@@ -296,6 +296,8 @@ public class QuickSettingsController implements Dumpable {
|
||||
@@ -293,6 +293,8 @@ public class QuickSettingsController implements Dumpable {
|
||||
private int mOneFingerQuickSettingsIntercept;
|
||||
private final ContentObserver mOneFingerQuickSettingsInterceptObserver;
|
||||
|
||||
@@ -55,7 +55,7 @@ index 1842dd110d6d..e14bcc232823 100644
|
||||
private final Region mInterceptRegion = new Region();
|
||||
/** The end bounds of a clipping animation. */
|
||||
private final Rect mClippingAnimationEndBounds = new Rect();
|
||||
@@ -413,6 +415,8 @@ public class QuickSettingsController implements Dumpable {
|
||||
@@ -410,6 +412,8 @@ public class QuickSettingsController implements Dumpable {
|
||||
}
|
||||
};
|
||||
|
||||
@@ -64,7 +64,7 @@ index 1842dd110d6d..e14bcc232823 100644
|
||||
dumpManager.registerDumpable(this);
|
||||
}
|
||||
|
||||
@@ -556,8 +560,7 @@ public class QuickSettingsController implements Dumpable {
|
||||
@@ -553,8 +557,7 @@ public class QuickSettingsController implements Dumpable {
|
||||
* on ACTION_DOWN, and safely queried repeatedly thereafter during ACTION_MOVE events.
|
||||
*/
|
||||
public void updateGestureInsetsCache() {
|
||||
@@ -73,8 +73,8 @@ index 1842dd110d6d..e14bcc232823 100644
|
||||
+ WindowMetrics windowMetrics = mWindowManager.getCurrentWindowMetrics();
|
||||
mCachedGestureInsets = windowMetrics.getWindowInsets().getInsets(
|
||||
WindowInsets.Type.systemGestures());
|
||||
}
|
||||
@@ -1534,8 +1537,8 @@ public class QuickSettingsController implements Dumpable {
|
||||
mCachedWindowWidth = windowMetrics.getBounds().width();
|
||||
@@ -1536,8 +1539,8 @@ public class QuickSettingsController implements Dumpable {
|
||||
|
||||
private int calculateRightClippingBound() {
|
||||
if (mIsFullWidth) {
|
||||
@@ -86,10 +86,10 @@ index 1842dd110d6d..e14bcc232823 100644
|
||||
return mNotificationStackScrollLayoutController.getRight()
|
||||
+ mDisplayLeftInset;
|
||||
diff --git a/services/core/java/com/android/server/wm/DisplayPolicy.java b/services/core/java/com/android/server/wm/DisplayPolicy.java
|
||||
index 8b3e4d38d736..99d905deae72 100644
|
||||
index a85038f5d656..8541b1dc1965 100644
|
||||
--- a/services/core/java/com/android/server/wm/DisplayPolicy.java
|
||||
+++ b/services/core/java/com/android/server/wm/DisplayPolicy.java
|
||||
@@ -1396,6 +1396,7 @@ public class DisplayPolicy {
|
||||
@@ -1414,6 +1414,7 @@ public class DisplayPolicy {
|
||||
displayFrames = win.getDisplayFrames(displayFrames);
|
||||
|
||||
final WindowManager.LayoutParams attrs = win.mAttrs.forRotation(displayFrames.mRotation);
|
||||
@@ -1,7 +1,7 @@
|
||||
From 6b596089d52d5e95ff75605a97269770a5d3a061 Mon Sep 17 00:00:00 2001
|
||||
From f9bc5419b8eaa18a6dd3da762a7803bacc5b81b2 Mon Sep 17 00:00:00 2001
|
||||
From: Andy CrossGate Yan <GeForce8800Ultra@gmail.com>
|
||||
Date: Wed, 1 Sep 2021 14:10:50 +0000
|
||||
Subject: [PATCH 15/21] UI: Kill rounded corners in notification scrim
|
||||
Subject: [PATCH 14/20] UI: Kill rounded corners in notification scrim
|
||||
|
||||
Rounded corners in S is nicely implemented, but this is one occasion where it looks out of place
|
||||
|
||||
@@ -11,12 +11,12 @@ Change-Id: I09ed59e0e658ebd512a9d02a8ef3edfe2c9888da
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/packages/SystemUI/res/values/dimens.xml b/packages/SystemUI/res/values/dimens.xml
|
||||
index 3320f98d1620..be08d662ed14 100644
|
||||
index a6b766f60d6f..272019c5893b 100644
|
||||
--- a/packages/SystemUI/res/values/dimens.xml
|
||||
+++ b/packages/SystemUI/res/values/dimens.xml
|
||||
@@ -759,7 +759,7 @@
|
||||
<!-- When large clock is showing, offset the smartspace by this amount -->
|
||||
<dimen name="keyguard_smartspace_top_offset">12dp</dimen>
|
||||
@@ -792,7 +792,7 @@
|
||||
<!-- The amount to translate lockscreen elements on the GONE->AOD transition -->
|
||||
<dimen name="keyguard_enter_from_top_translation_y">-100dp</dimen>
|
||||
|
||||
- <dimen name="notification_scrim_corner_radius">32dp</dimen>
|
||||
+ <dimen name="notification_scrim_corner_radius">0dp</dimen>
|
||||
@@ -1,7 +1,7 @@
|
||||
From 7ed48ed3b7a097290de3695da736da668bfc5b88 Mon Sep 17 00:00:00 2001
|
||||
From 4684e34f45d23f71c2d58560d7616896eded18e9 Mon Sep 17 00:00:00 2001
|
||||
From: Andy CrossGate Yan <GeForce8800Ultra@gmail.com>
|
||||
Date: Mon, 26 Oct 2020 14:06:56 +0000
|
||||
Subject: [PATCH 16/21] UI: Reconfigure power menu items
|
||||
Subject: [PATCH 15/20] UI: Reconfigure power menu items
|
||||
|
||||
Change-Id: I32cca6e2c6bb64d891efee959127edf7c0802cbc
|
||||
---
|
||||
@@ -9,10 +9,10 @@ Change-Id: I32cca6e2c6bb64d891efee959127edf7c0802cbc
|
||||
1 file changed, 1 insertion(+), 4 deletions(-)
|
||||
|
||||
diff --git a/core/res/res/values/config.xml b/core/res/res/values/config.xml
|
||||
index 2ae5f1f43335..82668de63c28 100644
|
||||
index 19f0ee14d5d5..cd959bb4a831 100644
|
||||
--- a/core/res/res/values/config.xml
|
||||
+++ b/core/res/res/values/config.xml
|
||||
@@ -3489,13 +3489,10 @@
|
||||
@@ -3594,13 +3594,10 @@
|
||||
"logout" = Logout the current user
|
||||
-->
|
||||
<string-array translatable="false" name="config_globalActionsList">
|
||||
@@ -1,7 +1,7 @@
|
||||
From e1cd8d1cdc216ba64b34a3bae83a07b7003b1218 Mon Sep 17 00:00:00 2001
|
||||
From 0c1560314b3326dea81afd66f2c7d162de1ed374 Mon Sep 17 00:00:00 2001
|
||||
From: Andy CrossGate Yan <GeForce8800Ultra@gmail.com>
|
||||
Date: Sat, 5 Mar 2022 01:43:37 +0000
|
||||
Subject: [PATCH 17/21] UI: Reconfigure quick settings tiles
|
||||
Subject: [PATCH 16/20] UI: Reconfigure quick settings tiles
|
||||
|
||||
Change-Id: I743f52ef3a95db0ca2c02ae973faa4629e41885d
|
||||
---
|
||||
@@ -9,14 +9,14 @@ Change-Id: I743f52ef3a95db0ca2c02ae973faa4629e41885d
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/packages/SystemUI/res/values/config.xml b/packages/SystemUI/res/values/config.xml
|
||||
index 9cd22313e0a1..03135f215e05 100644
|
||||
index 4791ad8969f0..05ff8736f429 100644
|
||||
--- a/packages/SystemUI/res/values/config.xml
|
||||
+++ b/packages/SystemUI/res/values/config.xml
|
||||
@@ -78,7 +78,7 @@
|
||||
@@ -88,7 +88,7 @@
|
||||
|
||||
<!-- The default tiles to display in QuickSettings -->
|
||||
<string name="quick_settings_tiles_default" translatable="false">
|
||||
- internet,bt,flashlight,dnd,alarm,airplane,controls,wallet,rotation,battery,cast,screenrecord,mictoggle,cameratoggle,custom(com.android.permissioncontroller/.permission.service.SafetyCenterQsTileService)
|
||||
- internet,bt,flashlight,dnd,alarm,airplane,controls,wallet,rotation,battery,cast,screenrecord,mictoggle,cameratoggle,custom(com.android.permissioncontroller/.permission.service.v33.SafetyCenterQsTileService)
|
||||
+ wifi,cell,hotspot,location,rotation,flashlight
|
||||
</string>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
From 55c864cf004f63aa0475a76be4537bb26589ae4f Mon Sep 17 00:00:00 2001
|
||||
From 15759ef5b8eadd49218579a68841035cdd78a0d1 Mon Sep 17 00:00:00 2001
|
||||
From: Andy CrossGate Yan <GeForce8800Ultra@gmail.com>
|
||||
Date: Tue, 29 Jun 2021 22:57:01 +0000
|
||||
Subject: [PATCH 18/21] UI: Relax requirement for HINT_SUPPORTS_DARK_TEXT
|
||||
Subject: [PATCH 17/20] UI: Relax requirement for HINT_SUPPORTS_DARK_TEXT
|
||||
|
||||
I decide what's good enough for a wallpaper!
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
From 1c65cb4d1b36523bdc993a56e7183c8b736c9382 Mon Sep 17 00:00:00 2001
|
||||
From 6b2353469e9087ab227c4399c5c7feb712ffb7c0 Mon Sep 17 00:00:00 2001
|
||||
From: Andy CrossGate Yan <GeForce8800Ultra@gmail.com>
|
||||
Date: Tue, 19 Oct 2021 12:09:34 +0000
|
||||
Subject: [PATCH 19/21] UI: Remove privacy dot
|
||||
Subject: [PATCH 18/20] UI: Remove privacy dot
|
||||
|
||||
Change-Id: I5d2e2b3e36f027b4348a83030d4b4d3c4f0209d1
|
||||
---
|
||||
@@ -9,10 +9,10 @@ Change-Id: I5d2e2b3e36f027b4348a83030d4b4d3c4f0209d1
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/packages/SystemUI/res/values/dimens.xml b/packages/SystemUI/res/values/dimens.xml
|
||||
index be08d662ed14..ea4a1db20819 100644
|
||||
index 272019c5893b..b84566f64080 100644
|
||||
--- a/packages/SystemUI/res/values/dimens.xml
|
||||
+++ b/packages/SystemUI/res/values/dimens.xml
|
||||
@@ -1102,12 +1102,12 @@
|
||||
@@ -1139,12 +1139,12 @@
|
||||
<dimen name="ongoing_appops_chip_min_width">56dp</dimen>
|
||||
<!-- Three privacy items. This value must not be exceeded -->
|
||||
<dimen name="ongoing_appops_chip_max_width">76dp</dimen>
|
||||
@@ -1,7 +1,7 @@
|
||||
From bdedcba0f39eb17bcf93d954eede85f5c079d067 Mon Sep 17 00:00:00 2001
|
||||
From 31aaa35b4f3ce875b61fe9c7d545adf29979a24e Mon Sep 17 00:00:00 2001
|
||||
From: Andy CrossGate Yan <GeForce8800Ultra@gmail.com>
|
||||
Date: Wed, 22 Mar 2023 00:29:13 +0000
|
||||
Subject: [PATCH 20/21] UI: Restore quick settings fonts to pre-T-QPR2
|
||||
Subject: [PATCH 19/20] UI: Restore quick settings fonts to pre-T-QPR2
|
||||
|
||||
TODO: Large header clock looks better in Regular - perhaps figure out how to transition smoothly?
|
||||
Change-Id: If2e57fee61b6bd4b6b7fedc7e3011164cd2cb56f
|
||||
@@ -10,7 +10,7 @@ Change-Id: If2e57fee61b6bd4b6b7fedc7e3011164cd2cb56f
|
||||
1 file changed, 2 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/packages/SystemUI/res/values/styles.xml b/packages/SystemUI/res/values/styles.xml
|
||||
index 847b8a961322..09d7888ce552 100644
|
||||
index 2cb0c89cd785..80831abc1201 100644
|
||||
--- a/packages/SystemUI/res/values/styles.xml
|
||||
+++ b/packages/SystemUI/res/values/styles.xml
|
||||
@@ -143,7 +143,7 @@
|
||||
@@ -1,7 +1,7 @@
|
||||
From a1bee1d208afbf20b3db1cd03ae393d6e7d93a05 Mon Sep 17 00:00:00 2001
|
||||
From 2b05323bf1e2e78ff10d2c5a7b098c39f4deaba9 Mon Sep 17 00:00:00 2001
|
||||
From: Andy CrossGate Yan <GeForce8800Ultra@gmail.com>
|
||||
Date: Fri, 30 Sep 2022 16:02:16 +0000
|
||||
Subject: [PATCH 21/21] UI: Revert to HSL luminance for wallpaper dark hints
|
||||
Subject: [PATCH 20/20] UI: Revert to HSL luminance for wallpaper dark hints
|
||||
|
||||
Y U no test for consistency, Google?
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
From d8a13aada0c4951deeda873543b8d6f33c402889 Mon Sep 17 00:00:00 2001
|
||||
From e130858b3f35dabed681a6bce8a8dbda7e71b607 Mon Sep 17 00:00:00 2001
|
||||
From: Andy CrossGate Yan <GeForce8800Ultra@gmail.com>
|
||||
Date: Thu, 23 Nov 2023 22:31:47 +0800
|
||||
Subject: [PATCH] sdk: I have Trust issues
|
||||
@@ -11,13 +11,13 @@ Change-Id: Id36104c8a9c386145e6d99a9d741947bddaa37be
|
||||
1 file changed, 29 deletions(-)
|
||||
|
||||
diff --git a/lineage/lib/main/java/org/lineageos/platform/internal/TrustInterfaceService.java b/lineage/lib/main/java/org/lineageos/platform/internal/TrustInterfaceService.java
|
||||
index 473bfe08..281c70ef 100644
|
||||
index 3cb8e5e7..aad5f3f4 100644
|
||||
--- a/lineage/lib/main/java/org/lineageos/platform/internal/TrustInterfaceService.java
|
||||
+++ b/lineage/lib/main/java/org/lineageos/platform/internal/TrustInterfaceService.java
|
||||
@@ -99,15 +99,6 @@ public class TrustInterfaceService extends LineageSystemService {
|
||||
} catch (NoSuchElementException | RemoteException e) {
|
||||
// ignore, the hal is not available
|
||||
}
|
||||
@@ -87,15 +87,6 @@ public class TrustInterfaceService extends LineageSystemService {
|
||||
public void onBootPhase(int phase) {
|
||||
if (phase == PHASE_BOOT_COMPLETED) {
|
||||
mNotificationManager = mContext.getSystemService(NotificationManager.class);
|
||||
-
|
||||
- // Onboard
|
||||
- if (!hasOnboardedUser()) {
|
||||
@@ -30,7 +30,7 @@ index 473bfe08..281c70ef 100644
|
||||
}
|
||||
}
|
||||
|
||||
@@ -351,26 +342,6 @@ public class TrustInterfaceService extends LineageSystemService {
|
||||
@@ -338,26 +329,6 @@ public class TrustInterfaceService extends LineageSystemService {
|
||||
LineageSettings.System.TRUST_INTERFACE_HINTED, 0) == 1;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
From f0f5e3f2db8aad94329c6354da8dbca17b8cef81 Mon Sep 17 00:00:00 2001
|
||||
From 7262d6fa8ee2dac2e359e1cc0bbd2d1ef81cfd26 Mon Sep 17 00:00:00 2001
|
||||
From: Andy CrossGate Yan <GeForce8800Ultra@gmail.com>
|
||||
Date: Thu, 8 Jun 2023 00:46:00 +0800
|
||||
Subject: [PATCH 1/4] Squashed revert of LOS widget redesign
|
||||
@@ -52,7 +52,7 @@ Until it no longer works...
|
||||
res/xml/digital_appwidget.xml | 13 +-
|
||||
.../DigitalAppWidgetCityViewsFactory.java | 10 +-
|
||||
...DigitalAppWidgetConfigurationActivity.java | 50 ------
|
||||
.../alarmclock/DigitalAppWidgetProvider.java | 60 ++-----
|
||||
.../alarmclock/DigitalAppWidgetProvider.java | 61 ++-----
|
||||
src/com/android/alarmclock/WidgetUtils.java | 28 ---
|
||||
src/com/android/deskclock/ClockFragment.java | 1 +
|
||||
.../deskclock/DropShadowController.java | 2 -
|
||||
@@ -84,7 +84,7 @@ Until it no longer works...
|
||||
.../uidata/PeriodicCallbackModel.java | 1 -
|
||||
.../widget/CollapsingToolbarBaseActivity.java | 3 +
|
||||
.../deskclock/widget/MockFabContainer.java | 27 ++-
|
||||
75 files changed, 388 insertions(+), 933 deletions(-)
|
||||
75 files changed, 388 insertions(+), 934 deletions(-)
|
||||
create mode 100644 res/drawable-nodpi/appwidget_digital_clock_preview.png
|
||||
create mode 100644 res/drawable/ic_checkmark.xml
|
||||
delete mode 100644 res/drawable/widget_background.xml
|
||||
@@ -2043,7 +2043,7 @@ index d65a9e9d9..000000000
|
||||
- }
|
||||
-}
|
||||
diff --git a/src/com/android/alarmclock/DigitalAppWidgetProvider.java b/src/com/android/alarmclock/DigitalAppWidgetProvider.java
|
||||
index ec6fac409..b54a500c5 100644
|
||||
index 7bda49314..709835ebc 100644
|
||||
--- a/src/com/android/alarmclock/DigitalAppWidgetProvider.java
|
||||
+++ b/src/com/android/alarmclock/DigitalAppWidgetProvider.java
|
||||
@@ -24,7 +24,6 @@ import static android.appwidget.AppWidgetManager.OPTION_APPWIDGET_MAX_HEIGHT;
|
||||
@@ -2078,15 +2078,18 @@ index ec6fac409..b54a500c5 100644
|
||||
for (int widgetId : widgetIds) {
|
||||
relayoutWidget(context, wm, widgetId, wm.getAppWidgetOptions(widgetId));
|
||||
}
|
||||
@@ -182,7 +180,6 @@ public class DigitalAppWidgetProvider extends AppWidgetProvider {
|
||||
@@ -182,10 +180,8 @@ public class DigitalAppWidgetProvider extends AppWidgetProvider {
|
||||
IntentFilter intentFilter = new IntentFilter();
|
||||
intentFilter.addAction(ACTION_WORLD_CITIES_CHANGED);
|
||||
intentFilter.addAction(ACTION_ON_DAY_CHANGE);
|
||||
- intentFilter.addAction(ACTION_CONFIGURATION_CHANGED);
|
||||
context.getApplicationContext().registerReceiver(receiver, intentFilter);
|
||||
|
||||
context.getApplicationContext().registerReceiver(receiver, intentFilter,
|
||||
Context.RECEIVER_NOT_EXPORTED);
|
||||
-
|
||||
sReceiversRegistered = true;
|
||||
@@ -213,10 +210,6 @@ public class DigitalAppWidgetProvider extends AppWidgetProvider {
|
||||
}
|
||||
|
||||
@@ -214,10 +210,6 @@ public class DigitalAppWidgetProvider extends AppWidgetProvider {
|
||||
wm.notifyAppWidgetViewDataChanged(widgetId, R.id.world_city_list);
|
||||
}
|
||||
|
||||
@@ -2097,7 +2100,7 @@ index ec6fac409..b54a500c5 100644
|
||||
/**
|
||||
* Compute optimal font and icon sizes offscreen for the given orientation.
|
||||
*/
|
||||
@@ -224,18 +217,13 @@ public class DigitalAppWidgetProvider extends AppWidgetProvider {
|
||||
@@ -225,18 +217,13 @@ public class DigitalAppWidgetProvider extends AppWidgetProvider {
|
||||
Bundle options, boolean portrait) {
|
||||
// Create a remote view for the digital clock.
|
||||
final String packageName = context.getPackageName();
|
||||
@@ -2118,7 +2121,7 @@ index ec6fac409..b54a500c5 100644
|
||||
}
|
||||
|
||||
// Configure child views of the remote view.
|
||||
@@ -279,15 +267,10 @@ public class DigitalAppWidgetProvider extends AppWidgetProvider {
|
||||
@@ -280,15 +267,10 @@ public class DigitalAppWidgetProvider extends AppWidgetProvider {
|
||||
}
|
||||
|
||||
// Apply the computed sizes to the remote views.
|
||||
@@ -2135,7 +2138,7 @@ index ec6fac409..b54a500c5 100644
|
||||
|
||||
final int smallestWorldCityListSizePx =
|
||||
resources.getDimensionPixelSize(R.dimen.widget_min_world_city_list_size);
|
||||
@@ -324,8 +307,6 @@ public class DigitalAppWidgetProvider extends AppWidgetProvider {
|
||||
@@ -325,8 +307,6 @@ public class DigitalAppWidgetProvider extends AppWidgetProvider {
|
||||
@SuppressLint("InflateParams")
|
||||
final View sizer = inflater.inflate(R.layout.digital_widget_sizer, null /* root */);
|
||||
|
||||
@@ -2144,7 +2147,7 @@ index ec6fac409..b54a500c5 100644
|
||||
// Configure the date to display the current date string.
|
||||
final CharSequence dateFormat = getDateFormat(context);
|
||||
final TextClock date = sizer.findViewById(R.id.date);
|
||||
@@ -439,7 +420,6 @@ public class DigitalAppWidgetProvider extends AppWidgetProvider {
|
||||
@@ -440,7 +420,6 @@ public class DigitalAppWidgetProvider extends AppWidgetProvider {
|
||||
final TextClock clock = sizer.findViewById(R.id.clock);
|
||||
final TextView nextAlarm = sizer.findViewById(R.id.nextAlarm);
|
||||
final TextView nextAlarmIcon = sizer.findViewById(R.id.nextAlarmIcon);
|
||||
@@ -2152,7 +2155,7 @@ index ec6fac409..b54a500c5 100644
|
||||
|
||||
// Adjust the font sizes.
|
||||
measuredSizes.setClockFontSizePx(clockFontSize);
|
||||
@@ -449,17 +429,6 @@ public class DigitalAppWidgetProvider extends AppWidgetProvider {
|
||||
@@ -450,17 +429,6 @@ public class DigitalAppWidgetProvider extends AppWidgetProvider {
|
||||
nextAlarm.setTextSize(COMPLEX_UNIT_PX, measuredSizes.mFontSizePx);
|
||||
nextAlarmIcon.setTextSize(COMPLEX_UNIT_PX, measuredSizes.mIconFontSizePx);
|
||||
nextAlarmIcon.setPadding(measuredSizes.mIconPaddingPx, 0, measuredSizes.mIconPaddingPx, 0);
|
||||
@@ -2170,7 +2173,7 @@ index ec6fac409..b54a500c5 100644
|
||||
|
||||
// Measure and layout the sizer.
|
||||
final int widthSize = View.MeasureSpec.getSize(measuredSizes.mTargetWidthPx);
|
||||
@@ -475,6 +444,11 @@ public class DigitalAppWidgetProvider extends AppWidgetProvider {
|
||||
@@ -476,6 +444,11 @@ public class DigitalAppWidgetProvider extends AppWidgetProvider {
|
||||
measuredSizes.mMeasuredTextClockWidthPx = clock.getMeasuredWidth();
|
||||
measuredSizes.mMeasuredTextClockHeightPx = clock.getMeasuredHeight();
|
||||
|
||||
@@ -2182,7 +2185,7 @@ index ec6fac409..b54a500c5 100644
|
||||
return measuredSizes;
|
||||
}
|
||||
|
||||
@@ -509,6 +483,7 @@ public class DigitalAppWidgetProvider extends AppWidgetProvider {
|
||||
@@ -510,6 +483,7 @@ public class DigitalAppWidgetProvider extends AppWidgetProvider {
|
||||
private final int mTargetHeightPx;
|
||||
private final int mLargestClockFontSizePx;
|
||||
private final int mSmallestClockFontSizePx;
|
||||
@@ -2190,7 +2193,7 @@ index ec6fac409..b54a500c5 100644
|
||||
|
||||
private int mMeasuredWidthPx;
|
||||
private int mMeasuredHeightPx;
|
||||
@@ -524,9 +499,6 @@ public class DigitalAppWidgetProvider extends AppWidgetProvider {
|
||||
@@ -525,9 +499,6 @@ public class DigitalAppWidgetProvider extends AppWidgetProvider {
|
||||
private int mIconFontSizePx;
|
||||
private int mIconPaddingPx;
|
||||
|
||||
@@ -2200,7 +2203,7 @@ index ec6fac409..b54a500c5 100644
|
||||
private Sizes(int targetWidthPx, int targetHeightPx, int largestClockFontSizePx) {
|
||||
mTargetWidthPx = targetWidthPx;
|
||||
mTargetHeightPx = targetHeightPx;
|
||||
@@ -539,21 +511,11 @@ public class DigitalAppWidgetProvider extends AppWidgetProvider {
|
||||
@@ -540,21 +511,11 @@ public class DigitalAppWidgetProvider extends AppWidgetProvider {
|
||||
private int getClockFontSizePx() { return mClockFontSizePx; }
|
||||
private void setClockFontSizePx(int clockFontSizePx) {
|
||||
mClockFontSizePx = clockFontSizePx;
|
||||
@@ -2268,7 +2271,7 @@ index 21f3bd067..7ad2df7b8 100644
|
||||
- }
|
||||
}
|
||||
diff --git a/src/com/android/deskclock/ClockFragment.java b/src/com/android/deskclock/ClockFragment.java
|
||||
index a6dbdfe16..bf53584e4 100644
|
||||
index 7591a18d0..2a1f2770f 100644
|
||||
--- a/src/com/android/deskclock/ClockFragment.java
|
||||
+++ b/src/com/android/deskclock/ClockFragment.java
|
||||
@@ -28,6 +28,7 @@ import android.content.BroadcastReceiver;
|
||||
@@ -2356,7 +2359,7 @@ index cbf6883cc..10df12ec6 100644
|
||||
|
||||
FragmentTransaction transaction = mFragmentManager.beginTransaction();
|
||||
diff --git a/src/com/android/deskclock/ScreensaverActivity.java b/src/com/android/deskclock/ScreensaverActivity.java
|
||||
index 2cfd2c2a9..b30f82ee7 100644
|
||||
index ab0e8b2bc..8b4b422d8 100644
|
||||
--- a/src/com/android/deskclock/ScreensaverActivity.java
|
||||
+++ b/src/com/android/deskclock/ScreensaverActivity.java
|
||||
@@ -28,12 +28,9 @@ import android.os.Bundle;
|
||||
@@ -2390,7 +2393,7 @@ index 2cfd2c2a9..b30f82ee7 100644
|
||||
|
||||
mPositionUpdater = new MoveScreensaverRunnable(mContentView, mMainClockView);
|
||||
|
||||
@@ -224,19 +219,14 @@ public class ScreensaverActivity extends BaseActivity {
|
||||
@@ -225,19 +220,14 @@ public class ScreensaverActivity extends BaseActivity {
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2523,11 +2526,11 @@ index e5c78e4c5..2e5330668 100644
|
||||
|
||||
/**
|
||||
diff --git a/src/com/android/deskclock/data/RingtoneModel.java b/src/com/android/deskclock/data/RingtoneModel.java
|
||||
index d765ba8b9..b83270cab 100644
|
||||
index de7e9a25d..145bdf280 100644
|
||||
--- a/src/com/android/deskclock/data/RingtoneModel.java
|
||||
+++ b/src/com/android/deskclock/data/RingtoneModel.java
|
||||
@@ -81,16 +81,17 @@ final class RingtoneModel {
|
||||
mContext.registerReceiver(mLocaleChangedReceiver, localeBroadcastFilter);
|
||||
@@ -82,16 +82,17 @@ final class RingtoneModel {
|
||||
Context.RECEIVER_NOT_EXPORTED);
|
||||
}
|
||||
|
||||
- void addCustomRingtone(Uri uri, String title) {
|
||||
@@ -2547,10 +2550,10 @@ index d765ba8b9..b83270cab 100644
|
||||
|
||||
void removeCustomRingtone(Uri uri) {
|
||||
diff --git a/src/com/android/deskclock/data/SilentSettingsModel.java b/src/com/android/deskclock/data/SilentSettingsModel.java
|
||||
index 1cfc1884c..af3caee2a 100644
|
||||
index 052dbf39f..8aabfefc4 100644
|
||||
--- a/src/com/android/deskclock/data/SilentSettingsModel.java
|
||||
+++ b/src/com/android/deskclock/data/SilentSettingsModel.java
|
||||
@@ -145,8 +145,8 @@ final class SilentSettingsModel {
|
||||
@@ -146,8 +146,8 @@ final class SilentSettingsModel {
|
||||
* making noise, a description of the setting is reported to this model on the main thread.
|
||||
*/
|
||||
private final class CheckSilenceSettingsTask {
|
||||
@@ -2577,10 +2580,10 @@ index 9f0c7cdd6..b3d5c07be 100644
|
||||
+ void stopwatchUpdated(Stopwatch before, Stopwatch after);
|
||||
}
|
||||
diff --git a/src/com/android/deskclock/data/StopwatchModel.java b/src/com/android/deskclock/data/StopwatchModel.java
|
||||
index ba2489333..a9ea1376f 100644
|
||||
index 804bea9a5..2ae3febbf 100644
|
||||
--- a/src/com/android/deskclock/data/StopwatchModel.java
|
||||
+++ b/src/com/android/deskclock/data/StopwatchModel.java
|
||||
@@ -101,7 +101,7 @@ final class StopwatchModel {
|
||||
@@ -102,7 +102,7 @@ final class StopwatchModel {
|
||||
/**
|
||||
* @param stopwatch the new state of the stopwatch
|
||||
*/
|
||||
@@ -2589,7 +2592,7 @@ index ba2489333..a9ea1376f 100644
|
||||
final Stopwatch before = getStopwatch();
|
||||
if (before != stopwatch) {
|
||||
StopwatchDAO.setStopwatch(mPrefs, stopwatch);
|
||||
@@ -123,7 +123,7 @@ final class StopwatchModel {
|
||||
@@ -124,7 +124,7 @@ final class StopwatchModel {
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2633,10 +2636,10 @@ index 0cb304d81..93e4d8cd6 100644
|
||||
private final List<State> stateExpiryOrder = Arrays.asList(MISSED, EXPIRED, RUNNING, PAUSED,
|
||||
RESET);
|
||||
diff --git a/src/com/android/deskclock/data/TimerModel.java b/src/com/android/deskclock/data/TimerModel.java
|
||||
index cc06add50..784a72c7b 100644
|
||||
index 47bafe31c..1197373af 100644
|
||||
--- a/src/com/android/deskclock/data/TimerModel.java
|
||||
+++ b/src/com/android/deskclock/data/TimerModel.java
|
||||
@@ -294,7 +294,7 @@ final class TimerModel {
|
||||
@@ -295,7 +295,7 @@ final class TimerModel {
|
||||
* @param eventLabelId the label of the timer event to send; 0 if no event should be sent
|
||||
* @return the reset {@code timer} or {@code null} if the timer was deleted
|
||||
*/
|
||||
@@ -2645,7 +2648,7 @@ index cc06add50..784a72c7b 100644
|
||||
final Timer result = doResetOrDeleteTimer(timer, allowDelete, eventLabelId);
|
||||
|
||||
// Update the notification after updating the timer data.
|
||||
@@ -306,7 +306,7 @@ final class TimerModel {
|
||||
@@ -307,7 +307,7 @@ final class TimerModel {
|
||||
updateNotification();
|
||||
}
|
||||
|
||||
@@ -2958,10 +2961,10 @@ index 979be1440..c6a557a8e 100644
|
||||
|
||||
public void onBind(int timerId) {
|
||||
diff --git a/src/com/android/deskclock/uidata/PeriodicCallbackModel.java b/src/com/android/deskclock/uidata/PeriodicCallbackModel.java
|
||||
index 4928244ec..0127e66cd 100644
|
||||
index 1b0e00fca..8a74000eb 100644
|
||||
--- a/src/com/android/deskclock/uidata/PeriodicCallbackModel.java
|
||||
+++ b/src/com/android/deskclock/uidata/PeriodicCallbackModel.java
|
||||
@@ -93,7 +93,6 @@ final class PeriodicCallbackModel {
|
||||
@@ -94,7 +94,6 @@ final class PeriodicCallbackModel {
|
||||
/**
|
||||
* @param runnable to be called every hour
|
||||
*/
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
From 1b76c4a2eb60baceab9cd169cbded8f58b06b89e Mon Sep 17 00:00:00 2001
|
||||
From 2f468ddf5a40a1e267144691242610e96b2b58b6 Mon Sep 17 00:00:00 2001
|
||||
From: Andy CrossGate Yan <GeForce8800Ultra@gmail.com>
|
||||
Date: Sun, 5 Sep 2021 00:30:33 +0000
|
||||
Subject: [PATCH 2/4] DeskClock: Remove night mode
|
||||
@@ -27,10 +27,10 @@ index 7b8c9764a..908f76fef 100644
|
||||
-
|
||||
</PreferenceScreen>
|
||||
diff --git a/src/com/android/deskclock/Screensaver.java b/src/com/android/deskclock/Screensaver.java
|
||||
index ad92b1149..f6c03ed0a 100644
|
||||
index 1031f37d6..5b6de21d1 100644
|
||||
--- a/src/com/android/deskclock/Screensaver.java
|
||||
+++ b/src/com/android/deskclock/Screensaver.java
|
||||
@@ -136,9 +136,8 @@ public final class Screensaver extends DreamService {
|
||||
@@ -137,9 +137,8 @@ public final class Screensaver extends DreamService {
|
||||
|
||||
private void setClockStyle() {
|
||||
Utils.setScreensaverClockStyle(mDigitalClock, mAnalogClock);
|
||||
@@ -43,7 +43,7 @@ index ad92b1149..f6c03ed0a 100644
|
||||
|
||||
/**
|
||||
diff --git a/src/com/android/deskclock/ScreensaverActivity.java b/src/com/android/deskclock/ScreensaverActivity.java
|
||||
index b30f82ee7..90235351f 100644
|
||||
index 8b4b422d8..2f80537a6 100644
|
||||
--- a/src/com/android/deskclock/ScreensaverActivity.java
|
||||
+++ b/src/com/android/deskclock/ScreensaverActivity.java
|
||||
@@ -101,7 +101,7 @@ public class ScreensaverActivity extends BaseActivity {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
From 57684772d748887b4eca93d6fb5c35ee1dff72eb Mon Sep 17 00:00:00 2001
|
||||
From 2bbdf8a6e96e5f6fe14da94eddf729e374c681b4 Mon Sep 17 00:00:00 2001
|
||||
From: Andy CrossGate Yan <GeForce8800Ultra@gmail.com>
|
||||
Date: Wed, 19 Jan 2022 18:04:36 +0000
|
||||
Subject: [PATCH 3/4] DeskClock: Adapt digital clocks to S style
|
||||
@@ -432,7 +432,7 @@ index 8c6364344..159f24766 100644
|
||||
+ </style>
|
||||
</resources>
|
||||
diff --git a/src/com/android/alarmclock/DigitalAppWidgetProvider.java b/src/com/android/alarmclock/DigitalAppWidgetProvider.java
|
||||
index b54a500c5..fb1b30aa7 100644
|
||||
index 709835ebc..621b39132 100644
|
||||
--- a/src/com/android/alarmclock/DigitalAppWidgetProvider.java
|
||||
+++ b/src/com/android/alarmclock/DigitalAppWidgetProvider.java
|
||||
@@ -223,7 +223,7 @@ public class DigitalAppWidgetProvider extends AppWidgetProvider {
|
||||
@@ -540,7 +540,7 @@ index c3739bac8..5b931a46d 100644
|
||||
return (String) DateFormat.format(pattern, time);
|
||||
}
|
||||
diff --git a/src/com/android/deskclock/ClockFragment.java b/src/com/android/deskclock/ClockFragment.java
|
||||
index bf53584e4..7a0e3ae0b 100644
|
||||
index 2a1f2770f..eaf796659 100644
|
||||
--- a/src/com/android/deskclock/ClockFragment.java
|
||||
+++ b/src/com/android/deskclock/ClockFragment.java
|
||||
@@ -123,7 +123,6 @@ public final class ClockFragment extends DeskClockFragment {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
From 13cd5543d2d0a253c86fa84030bb3dfb636ceea1 Mon Sep 17 00:00:00 2001
|
||||
From 8183a51d8cac2772c1e8d17a264218a4fa0a0287 Mon Sep 17 00:00:00 2001
|
||||
From: Andy CrossGate Yan <GeForce8800Ultra@gmail.com>
|
||||
Date: Thu, 20 Jan 2022 04:42:03 +0000
|
||||
Subject: [PATCH 4/4] DeskClock: Wallpaper-based text coloring for digital
|
||||
@@ -12,7 +12,7 @@ Change-Id: Ie22c4980526575f73ebb4e56780d4c2193cc45d3
|
||||
1 file changed, 57 insertions(+)
|
||||
|
||||
diff --git a/src/com/android/alarmclock/DigitalAppWidgetProvider.java b/src/com/android/alarmclock/DigitalAppWidgetProvider.java
|
||||
index fb1b30aa7..c04528240 100644
|
||||
index 621b39132..1031a65b2 100644
|
||||
--- a/src/com/android/alarmclock/DigitalAppWidgetProvider.java
|
||||
+++ b/src/com/android/alarmclock/DigitalAppWidgetProvider.java
|
||||
@@ -38,6 +38,8 @@ import static java.lang.Math.round;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
From 61630e83287a097f512b03203722f7385100bd5f Mon Sep 17 00:00:00 2001
|
||||
From ed635e14cc220e49b736c8071f368201931dd4b0 Mon Sep 17 00:00:00 2001
|
||||
From: Daniel Micay <danielmicay@gmail.com>
|
||||
Date: Sat, 6 Jun 2015 10:40:51 -0400
|
||||
Subject: [PATCH] NfcService: Disable NFC by default
|
||||
@@ -9,18 +9,18 @@ Change-Id: Ibe6abec7fa84c6fde476b8a083f57a3f61b50909
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/com/android/nfc/NfcService.java b/src/com/android/nfc/NfcService.java
|
||||
index f22dc9da..28aedc59 100644
|
||||
index f74e78ab..a4654977 100644
|
||||
--- a/src/com/android/nfc/NfcService.java
|
||||
+++ b/src/com/android/nfc/NfcService.java
|
||||
@@ -141,7 +141,7 @@ public class NfcService implements DeviceHostListener, ForegroundUtils.Callback
|
||||
@@ -144,7 +144,7 @@ public class NfcService implements DeviceHostListener, ForegroundUtils.Callback
|
||||
public static final String PREF_TAG_APP_LIST = "TagIntentAppPreferenceListPrefs";
|
||||
|
||||
static final String PREF_NFC_ON = "nfc_on";
|
||||
- static final boolean NFC_ON_DEFAULT = true;
|
||||
+ static final boolean NFC_ON_DEFAULT = false;
|
||||
static final String PREF_SECURE_NFC_ON = "secure_nfc_on";
|
||||
static final boolean SECURE_NFC_ON_DEFAULT = false;
|
||||
static final String PREF_FIRST_BOOT = "first_boot";
|
||||
|
||||
static final String PREF_NFC_READER_OPTION_ON = "nfc_reader_on";
|
||||
static final boolean NFC_READER_OPTION_DEFAULT = true;
|
||||
--
|
||||
2.34.1
|
||||
|
||||
|
||||
@@ -1,26 +0,0 @@
|
||||
From 4dad46e31da483f2b0818e81791cac4a4a674385 Mon Sep 17 00:00:00 2001
|
||||
From: Andy CrossGate Yan <GeForce8800Ultra@gmail.com>
|
||||
Date: Mon, 20 Nov 2023 10:42:58 +0800
|
||||
Subject: [PATCH] Keyguard: Default to small clock (2/3)
|
||||
|
||||
Change-Id: Ieb39c323e99fd2795f683a8a2930bb3a27212a6d
|
||||
---
|
||||
.../settings/display/LockscreenClockPreferenceController.java | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/com/android/settings/display/LockscreenClockPreferenceController.java b/src/com/android/settings/display/LockscreenClockPreferenceController.java
|
||||
index 70ae55eaf9..fd6e0fe248 100644
|
||||
--- a/src/com/android/settings/display/LockscreenClockPreferenceController.java
|
||||
+++ b/src/com/android/settings/display/LockscreenClockPreferenceController.java
|
||||
@@ -37,7 +37,7 @@ public class LockscreenClockPreferenceController extends TogglePreferenceControl
|
||||
|
||||
@Override
|
||||
public boolean isChecked() {
|
||||
- return Settings.Secure.getInt(mContext.getContentResolver(), SETTING_KEY, 1) != 0;
|
||||
+ return Settings.Secure.getInt(mContext.getContentResolver(), SETTING_KEY, 0) != 0;
|
||||
}
|
||||
|
||||
@Override
|
||||
--
|
||||
2.34.1
|
||||
|
||||
@@ -1,163 +1,187 @@
|
||||
From 7f78c8c7ea3b7aad4c234338263ed88eef8485e7 Mon Sep 17 00:00:00 2001
|
||||
From 81689aaba1afbba29c980f60b51c04da97c3d2a1 Mon Sep 17 00:00:00 2001
|
||||
From: Andy CrossGate Yan <GeForce8800Ultra@gmail.com>
|
||||
Date: Thu, 23 Nov 2023 23:21:58 +0800
|
||||
Subject: [PATCH] SetupWizard: Least Action(s) Principle
|
||||
|
||||
Change-Id: I892634b8ffc7beafa5a223de0afdc64276efd2f5
|
||||
---
|
||||
res/raw/lineage_wizard_script.xml | 43 +------------------
|
||||
.../lineage_wizard_script_managed_profile.xml | 15 +------
|
||||
res/raw/lineage_wizard_script_user.xml | 27 +-----------
|
||||
3 files changed, 5 insertions(+), 80 deletions(-)
|
||||
res/raw/lineage_wizard_script.xml | 62 +------------------
|
||||
.../lineage_wizard_script_managed_profile.xml | 21 +------
|
||||
res/raw/lineage_wizard_script_user.xml | 38 +-----------
|
||||
3 files changed, 3 insertions(+), 118 deletions(-)
|
||||
|
||||
diff --git a/res/raw/lineage_wizard_script.xml b/res/raw/lineage_wizard_script.xml
|
||||
index 616f6ed..e7c9b7f 100644
|
||||
index ea342b6..43bb23f 100644
|
||||
--- a/res/raw/lineage_wizard_script.xml
|
||||
+++ b/res/raw/lineage_wizard_script.xml
|
||||
@@ -18,21 +18,13 @@
|
||||
@@ -5,13 +5,7 @@
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
|
||||
<WizardScript xmlns:wizard="http://schemas.android.com/apk/res/com.google.android.setupwizard"
|
||||
- wizard:firstAction="bluetooth_setup">
|
||||
-
|
||||
- <WizardAction wizard:uri="intent:#Intent;action=org.lineageos.setupwizard.LINEAGE_BLUETOOTH_SETUP;end" id="bluetooth_setup">
|
||||
- <WizardAction
|
||||
- wizard:uri="intent:#Intent;action=org.lineageos.setupwizard.LINEAGE_BLUETOOTH_SETUP;end"
|
||||
- id="bluetooth_setup">
|
||||
- <result wizard:action="welcome" />
|
||||
- </WizardAction>
|
||||
+ wizard:firstAction="welcome">
|
||||
|
||||
<WizardAction wizard:uri="intent:#Intent;action=org.lineageos.setupwizard.LINEAGE_WELCOME;end" id="welcome">
|
||||
<result wizard:action="locale" />
|
||||
</WizardAction>
|
||||
|
||||
<WizardAction wizard:uri="intent:#Intent;action=org.lineageos.setupwizard.LINEAGE_LOCALE;end" id="locale">
|
||||
<WizardAction
|
||||
wizard:uri="intent:#Intent;action=org.lineageos.setupwizard.LINEAGE_WELCOME;end"
|
||||
@@ -22,12 +16,6 @@
|
||||
<WizardAction
|
||||
wizard:uri="intent:#Intent;action=org.lineageos.setupwizard.LINEAGE_LOCALE;end"
|
||||
id="locale">
|
||||
- <result wizard:action="sim_missing" />
|
||||
- </WizardAction>
|
||||
-
|
||||
- <WizardAction wizard:uri="intent:#Intent;action=org.lineageos.setupwizard.LINEAGE_SIM_MISSING;end" id="sim_missing">
|
||||
- <WizardAction
|
||||
- wizard:uri="intent:#Intent;action=org.lineageos.setupwizard.LINEAGE_SIM_MISSING;end"
|
||||
- id="sim_missing">
|
||||
<result wizard:action="network_setup" />
|
||||
</WizardAction>
|
||||
|
||||
@@ -41,44 +33,13 @@
|
||||
</WizardAction>
|
||||
|
||||
<WizardAction wizard:uri="intent:#Intent;action=org.lineageos.setupwizard.LINEAGE_DATETIME;end" id="datetime">
|
||||
@@ -40,54 +28,6 @@
|
||||
<WizardAction
|
||||
wizard:uri="intent:#Intent;action=org.lineageos.setupwizard.LINEAGE_DATETIME;end"
|
||||
id="datetime">
|
||||
- <result wizard:action="restore" />
|
||||
- </WizardAction>
|
||||
-
|
||||
- <WizardAction
|
||||
- wizard:uri="intent:#Intent;action=org.lineageos.setupwizard.LINEAGE_RESTORE_BACKUP;end"
|
||||
- id="restore">
|
||||
- <result wizard:action="location_settings" />
|
||||
- </WizardAction>
|
||||
-
|
||||
- <WizardAction wizard:uri="intent:#Intent;action=org.lineageos.setupwizard.LINEAGE_LOCATION_SETTINGS;end" id="location_settings">
|
||||
- <WizardAction
|
||||
- wizard:uri="intent:#Intent;action=org.lineageos.setupwizard.LINEAGE_LOCATION_SETTINGS;end"
|
||||
- id="location_settings">
|
||||
- <result wizard:action="device_specific" />
|
||||
- </WizardAction>
|
||||
-
|
||||
- <WizardAction wizard:uri="intent:#Intent;action=org.lineageos.setupwizard.DEVICE_SPECIFIC;end" id="device_specific">
|
||||
- <WizardAction
|
||||
- wizard:uri="intent:#Intent;action=org.lineageos.setupwizard.DEVICE_SPECIFIC;end"
|
||||
- id="device_specific">
|
||||
- <result wizard:action="recovery_update" />
|
||||
- </WizardAction>
|
||||
-
|
||||
- <WizardAction wizard:uri="intent:#Intent;action=org.lineageos.setupwizard.LINEAGE_RECOVERY_UPDATE;end" id="recovery_update">
|
||||
- <WizardAction
|
||||
- wizard:uri="intent:#Intent;action=org.lineageos.setupwizard.LINEAGE_RECOVERY_UPDATE;end"
|
||||
- id="recovery_update">
|
||||
- <result wizard:action="lineage_settings" />
|
||||
- </WizardAction>
|
||||
-
|
||||
- <WizardAction wizard:uri="intent:#Intent;action=org.lineageos.setupwizard.LINEAGE_SETTINGS;end" id="lineage_settings">
|
||||
- <WizardAction
|
||||
- wizard:uri="intent:#Intent;action=org.lineageos.setupwizard.LINEAGE_SETTINGS;end"
|
||||
- id="lineage_settings">
|
||||
- <result wizard:action="lockscreen_settings" />
|
||||
- </WizardAction>
|
||||
-
|
||||
- <WizardAction wizard:uri="intent:#Intent;action=org.lineageos.setupwizard.LINEAGE_LOCKSCREEN_SETTINGS;end" id="lockscreen_settings">
|
||||
- <WizardAction
|
||||
- wizard:uri="intent:#Intent;action=org.lineageos.setupwizard.LINEAGE_LOCKSCREEN_SETTINGS;end"
|
||||
- id="lockscreen_settings">
|
||||
- <result wizard:action="biometric_settings" />
|
||||
- </WizardAction>
|
||||
-
|
||||
- <WizardAction wizard:uri="intent:#Intent;action=org.lineageos.setupwizard.LINEAGE_BIOMETRIC_SETTINGS;end" id="biometric_settings">
|
||||
- <result wizard:action="restore" />
|
||||
- </WizardAction>
|
||||
-
|
||||
- <WizardAction wizard:uri="intent:#Intent;action=org.lineageos.setupwizard.LINEAGE_RESTORE_BACKUP;end" id="restore">
|
||||
- <WizardAction
|
||||
- wizard:uri="intent:#Intent;action=org.lineageos.setupwizard.LINEAGE_BIOMETRIC_SETTINGS;end"
|
||||
- id="biometric_settings">
|
||||
- <result wizard:action="navigation_settings" />
|
||||
- </WizardAction>
|
||||
-
|
||||
- <WizardAction wizard:uri="intent:#Intent;action=org.lineageos.setupwizard.NAVIGATION_SETTINGS;end" id="navigation_settings">
|
||||
- <WizardAction
|
||||
- wizard:uri="intent:#Intent;action=org.lineageos.setupwizard.NAVIGATION_SETTINGS;end"
|
||||
- id="navigation_settings">
|
||||
<result wizard:action="finish" />
|
||||
</WizardAction>
|
||||
|
||||
<WizardAction wizard:uri="intent:#Intent;action=org.lineageos.setupwizard.LINEAGE_SETUP_COMPLETE;end" id="finish">
|
||||
<result wizard:action="exit" />
|
||||
</WizardAction>
|
||||
+
|
||||
<WizardAction wizard:uri="intent:#Intent;action=org.lineageos.setupwizard.EXIT;end" id="exit" />
|
||||
|
||||
</WizardScript>
|
||||
diff --git a/res/raw/lineage_wizard_script_managed_profile.xml b/res/raw/lineage_wizard_script_managed_profile.xml
|
||||
index 00a66e3..4f8b867 100644
|
||||
index 6a4d1e5..47e99c5 100644
|
||||
--- a/res/raw/lineage_wizard_script_managed_profile.xml
|
||||
+++ b/res/raw/lineage_wizard_script_managed_profile.xml
|
||||
@@ -2,7 +2,6 @@
|
||||
|
||||
@@ -1,30 +1,11 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2016 The CyanogenMod Project
|
||||
- Copyright (C) 2021 The Calyx Institute
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
@@ -18,19 +17,7 @@
|
||||
SPDX-FileCopyrightText: 2016 The CyanogenMod Project
|
||||
- SPDX-FileCopyrightText: 2021 The Calyx Institute
|
||||
SPDX-FileCopyrightText: 2021-2024 The LineageOS Project
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
|
||||
<WizardScript xmlns:wizard="http://schemas.android.com/apk/res/com.google.android.setupwizard"
|
||||
- wizard:firstAction="welcome">
|
||||
- wizard:firstAction="welcome">
|
||||
-
|
||||
- <WizardAction wizard:uri="intent:#Intent;action=org.lineageos.setupwizard.LINEAGE_WELCOME;end" id="welcome">
|
||||
- <result wizard:action="location_settings" />
|
||||
- </WizardAction>
|
||||
-
|
||||
- <WizardAction wizard:uri="intent:#Intent;action=org.lineageos.setupwizard.LINEAGE_LOCATION_SETTINGS;end" id="location_settings">
|
||||
- <WizardAction
|
||||
- wizard:uri="intent:#Intent;action=org.lineageos.setupwizard.LINEAGE_WELCOME;end"
|
||||
- id="welcome">
|
||||
- <result wizard:action="restore" />
|
||||
- </WizardAction>
|
||||
-
|
||||
- <WizardAction wizard:uri="intent:#Intent;action=org.lineageos.setupwizard.LINEAGE_RESTORE_BACKUP;end" id="restore">
|
||||
- <result wizard:action="finish" />
|
||||
- </WizardAction>
|
||||
+ wizard:firstAction="finish">
|
||||
|
||||
<WizardAction wizard:uri="intent:#Intent;action=org.lineageos.setupwizard.LINEAGE_SETUP_COMPLETE;end" id="finish">
|
||||
<result wizard:action="exit" />
|
||||
diff --git a/res/raw/lineage_wizard_script_user.xml b/res/raw/lineage_wizard_script_user.xml
|
||||
index d480901..4f8b867 100644
|
||||
--- a/res/raw/lineage_wizard_script_user.xml
|
||||
+++ b/res/raw/lineage_wizard_script_user.xml
|
||||
@@ -17,35 +17,12 @@
|
||||
-->
|
||||
|
||||
<WizardScript xmlns:wizard="http://schemas.android.com/apk/res/com.google.android.setupwizard"
|
||||
- wizard:firstAction="welcome">
|
||||
-
|
||||
- <WizardAction wizard:uri="intent:#Intent;action=org.lineageos.setupwizard.LINEAGE_WELCOME;end" id="welcome">
|
||||
- <WizardAction
|
||||
- wizard:uri="intent:#Intent;action=org.lineageos.setupwizard.LINEAGE_RESTORE_BACKUP;end"
|
||||
- id="restore">
|
||||
- <result wizard:action="location_settings" />
|
||||
- </WizardAction>
|
||||
-
|
||||
- <WizardAction wizard:uri="intent:#Intent;action=org.lineageos.setupwizard.LINEAGE_LOCATION_SETTINGS;end" id="location_settings">
|
||||
- <WizardAction
|
||||
- wizard:uri="intent:#Intent;action=org.lineageos.setupwizard.LINEAGE_LOCATION_SETTINGS;end"
|
||||
- id="location_settings">
|
||||
- <result wizard:action="finish" />
|
||||
- </WizardAction>
|
||||
+ wizard:firstAction="finish">
|
||||
|
||||
<WizardAction
|
||||
wizard:uri="intent:#Intent;action=org.lineageos.setupwizard.LINEAGE_SETUP_COMPLETE;end"
|
||||
diff --git a/res/raw/lineage_wizard_script_user.xml b/res/raw/lineage_wizard_script_user.xml
|
||||
index af38520..47e99c5 100644
|
||||
--- a/res/raw/lineage_wizard_script_user.xml
|
||||
+++ b/res/raw/lineage_wizard_script_user.xml
|
||||
@@ -5,43 +5,7 @@
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
<WizardScript xmlns:wizard="http://schemas.android.com/apk/res/com.google.android.setupwizard"
|
||||
- wizard:firstAction="welcome">
|
||||
-
|
||||
- <WizardAction
|
||||
- wizard:uri="intent:#Intent;action=org.lineageos.setupwizard.LINEAGE_WELCOME;end"
|
||||
- id="welcome">
|
||||
- <result wizard:action="restore" />
|
||||
- </WizardAction>
|
||||
-
|
||||
- <WizardAction
|
||||
- wizard:uri="intent:#Intent;action=org.lineageos.setupwizard.LINEAGE_RESTORE_BACKUP;end"
|
||||
- id="restore">
|
||||
- <result wizard:action="location_settings" />
|
||||
- </WizardAction>
|
||||
-
|
||||
- <WizardAction
|
||||
- wizard:uri="intent:#Intent;action=org.lineageos.setupwizard.LINEAGE_LOCATION_SETTINGS;end"
|
||||
- id="location_settings">
|
||||
- <result wizard:action="lockscreen_settings" />
|
||||
- </WizardAction>
|
||||
-
|
||||
- <WizardAction wizard:uri="intent:#Intent;action=org.lineageos.setupwizard.LINEAGE_LOCKSCREEN_SETTINGS;end" id="lockscreen_settings">
|
||||
- <WizardAction
|
||||
- wizard:uri="intent:#Intent;action=org.lineageos.setupwizard.LINEAGE_LOCKSCREEN_SETTINGS;end"
|
||||
- id="lockscreen_settings">
|
||||
- <result wizard:action="biometric_settings" />
|
||||
- </WizardAction>
|
||||
-
|
||||
- <WizardAction wizard:uri="intent:#Intent;action=org.lineageos.setupwizard.LINEAGE_BIOMETRIC_SETTINGS;end" id="biometric_settings">
|
||||
- <result wizard:action="restore" />
|
||||
- </WizardAction>
|
||||
-
|
||||
- <WizardAction wizard:uri="intent:#Intent;action=org.lineageos.setupwizard.LINEAGE_RESTORE_BACKUP;end" id="restore">
|
||||
- <WizardAction
|
||||
- wizard:uri="intent:#Intent;action=org.lineageos.setupwizard.LINEAGE_BIOMETRIC_SETTINGS;end"
|
||||
- id="biometric_settings">
|
||||
- <result wizard:action="navigation_settings" />
|
||||
- </WizardAction>
|
||||
-
|
||||
- <WizardAction wizard:uri="intent:#Intent;action=org.lineageos.setupwizard.NAVIGATION_SETTINGS;end" id="navigation_settings">
|
||||
- <WizardAction
|
||||
- wizard:uri="intent:#Intent;action=org.lineageos.setupwizard.NAVIGATION_SETTINGS;end"
|
||||
- id="navigation_settings">
|
||||
- <result wizard:action="finish" />
|
||||
- </WizardAction>
|
||||
+ wizard:firstAction="finish">
|
||||
+ wizard:firstAction="finish">
|
||||
|
||||
<WizardAction wizard:uri="intent:#Intent;action=org.lineageos.setupwizard.LINEAGE_SETUP_COMPLETE;end" id="finish">
|
||||
<result wizard:action="exit" />
|
||||
</WizardAction>
|
||||
+
|
||||
<WizardAction wizard:uri="intent:#Intent;action=org.lineageos.setupwizard.EXIT;end" id="exit" />
|
||||
|
||||
</WizardScript>
|
||||
<WizardAction
|
||||
wizard:uri="intent:#Intent;action=org.lineageos.setupwizard.LINEAGE_SETUP_COMPLETE;end"
|
||||
--
|
||||
2.34.1
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
From 13b848a8b08c6e99086ab3af9e526c698920ebaa Mon Sep 17 00:00:00 2001
|
||||
From fbc5159270447f5d81be73aab5e7b8ee08d789a2 Mon Sep 17 00:00:00 2001
|
||||
From: Andy CrossGate Yan <GeForce8800Ultra@gmail.com>
|
||||
Date: Thu, 28 Oct 2021 02:30:59 +0000
|
||||
Subject: [PATCH 1/3] Trebuchet: Make overview scrim transparent again
|
||||
@@ -23,7 +23,7 @@ Change-Id: I78c84865eb06b8e59c9c271cd2e267ae4cd7cc08
|
||||
delete mode 100644 res/color-v33/overview_scrim_dark.xml
|
||||
|
||||
diff --git a/quickstep/res/values/styles.xml b/quickstep/res/values/styles.xml
|
||||
index fc0370421d..61ca1e05d6 100644
|
||||
index bdc86b217d..7c47d126a8 100644
|
||||
--- a/quickstep/res/values/styles.xml
|
||||
+++ b/quickstep/res/values/styles.xml
|
||||
@@ -227,7 +227,7 @@
|
||||
@@ -36,10 +36,10 @@ index fc0370421d..61ca1e05d6 100644
|
||||
<item name="android:textAllCaps">false</item>
|
||||
</style>
|
||||
diff --git a/quickstep/src/com/android/quickstep/views/RecentsView.java b/quickstep/src/com/android/quickstep/views/RecentsView.java
|
||||
index 23fcbea42f..9b151394fa 100644
|
||||
index 08ec0398a7..e1ab7311dd 100644
|
||||
--- a/quickstep/src/com/android/quickstep/views/RecentsView.java
|
||||
+++ b/quickstep/src/com/android/quickstep/views/RecentsView.java
|
||||
@@ -793,7 +793,7 @@ public abstract class RecentsView<ACTIVITY_TYPE extends StatefulActivity<STATE_T
|
||||
@@ -805,7 +805,7 @@ public abstract class RecentsView<ACTIVITY_TYPE extends StatefulActivity<STATE_T
|
||||
mEmptyIcon.setCallback(this);
|
||||
mEmptyMessage = context.getText(R.string.recents_empty_message);
|
||||
mEmptyMessagePaint = new TextPaint();
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
From 471be03743d96834bea2007e1beccd858149b8f6 Mon Sep 17 00:00:00 2001
|
||||
From 5137588e22d194c87da0000ba6642f17fe37516a Mon Sep 17 00:00:00 2001
|
||||
From: Andy CrossGate Yan <GeForce8800Ultra@gmail.com>
|
||||
Date: Fri, 18 Mar 2022 08:42:18 +0000
|
||||
Subject: [PATCH 2/3] Trebuchet: Kill haptics in recents
|
||||
@@ -13,10 +13,10 @@ Change-Id: Ie3b0eabe8cc0421e696720740edc492cae2f5153
|
||||
3 files changed, 1 insertion(+), 32 deletions(-)
|
||||
|
||||
diff --git a/quickstep/src/com/android/launcher3/uioverrides/touchcontrollers/NoButtonQuickSwitchTouchController.java b/quickstep/src/com/android/launcher3/uioverrides/touchcontrollers/NoButtonQuickSwitchTouchController.java
|
||||
index 6f421eb14a..655797da62 100644
|
||||
index 968faf07c7..bb93664b46 100644
|
||||
--- a/quickstep/src/com/android/launcher3/uioverrides/touchcontrollers/NoButtonQuickSwitchTouchController.java
|
||||
+++ b/quickstep/src/com/android/launcher3/uioverrides/touchcontrollers/NoButtonQuickSwitchTouchController.java
|
||||
@@ -438,14 +438,7 @@ public class NoButtonQuickSwitchTouchController implements TouchController,
|
||||
@@ -437,14 +437,7 @@ public class NoButtonQuickSwitchTouchController implements TouchController,
|
||||
nonOverviewAnim.setFloatValues(startProgress, endProgress);
|
||||
mNonOverviewAnim.dispatchOnStart();
|
||||
}
|
||||
@@ -33,10 +33,10 @@ index 6f421eb14a..655797da62 100644
|
||||
}
|
||||
|
||||
diff --git a/quickstep/src/com/android/launcher3/uioverrides/touchcontrollers/TaskViewTouchController.java b/quickstep/src/com/android/launcher3/uioverrides/touchcontrollers/TaskViewTouchController.java
|
||||
index 3d94857848..849b9fd2d1 100644
|
||||
index 19bfe069c8..f6cb2c7024 100644
|
||||
--- a/quickstep/src/com/android/launcher3/uioverrides/touchcontrollers/TaskViewTouchController.java
|
||||
+++ b/quickstep/src/com/android/launcher3/uioverrides/touchcontrollers/TaskViewTouchController.java
|
||||
@@ -369,11 +369,6 @@ public abstract class TaskViewTouchController<T extends BaseDraggingActivity>
|
||||
@@ -370,11 +370,6 @@ public abstract class TaskViewTouchController<T extends BaseDraggingActivity>
|
||||
mCurrentAnimation.startWithVelocity(mActivity, goingToEnd,
|
||||
velocity * orientationHandler.getSecondaryTranslationDirectionFactor(),
|
||||
mEndDisplacement, animationDuration);
|
||||
@@ -49,10 +49,10 @@ index 3d94857848..849b9fd2d1 100644
|
||||
|
||||
private void clearState() {
|
||||
diff --git a/quickstep/src/com/android/quickstep/views/RecentsView.java b/quickstep/src/com/android/quickstep/views/RecentsView.java
|
||||
index 9b151394fa..0ce5537d2e 100644
|
||||
index e1ab7311dd..c2f848c71a 100644
|
||||
--- a/quickstep/src/com/android/quickstep/views/RecentsView.java
|
||||
+++ b/quickstep/src/com/android/quickstep/views/RecentsView.java
|
||||
@@ -1558,25 +1558,6 @@ public abstract class RecentsView<ACTIVITY_TYPE extends StatefulActivity<STATE_T
|
||||
@@ -1583,25 +1583,6 @@ public abstract class RecentsView<ACTIVITY_TYPE extends StatefulActivity<STATE_T
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
From 1d5fe3cd174200d7ec1e34b1363b4b7aa34154e1 Mon Sep 17 00:00:00 2001
|
||||
From 3123bcedf9a080c651e9f009f14111585c7f1f38 Mon Sep 17 00:00:00 2001
|
||||
From: Andy CrossGate Yan <GeForce8800Ultra@gmail.com>
|
||||
Date: Mon, 20 Nov 2023 14:09:32 +0800
|
||||
Subject: [PATCH 3/3] Trebuchet: Kill inverted rounded corners above the
|
||||
@@ -12,23 +12,23 @@ Change-Id: Ibf03a84cb8f3866b5151b02fe8a0e74167cf90ce
|
||||
1 file changed, 7 deletions(-)
|
||||
|
||||
diff --git a/quickstep/src/com/android/launcher3/taskbar/TaskbarBackgroundRenderer.kt b/quickstep/src/com/android/launcher3/taskbar/TaskbarBackgroundRenderer.kt
|
||||
index d237c1f997..d7142eef59 100644
|
||||
index d6016f1304..c77fadb9aa 100644
|
||||
--- a/quickstep/src/com/android/launcher3/taskbar/TaskbarBackgroundRenderer.kt
|
||||
+++ b/quickstep/src/com/android/launcher3/taskbar/TaskbarBackgroundRenderer.kt
|
||||
@@ -131,13 +131,6 @@ class TaskbarBackgroundRenderer(context: TaskbarActivityContext) {
|
||||
canvas.translate(0f, canvas.height - backgroundHeight - bottomMargin)
|
||||
@@ -159,13 +159,6 @@ class TaskbarBackgroundRenderer(private val context: TaskbarActivityContext) {
|
||||
// Draw the background behind taskbar content.
|
||||
canvas.drawRect(0f, 0f, canvas.width.toFloat(), backgroundHeight, paint)
|
||||
canvas.drawRect(0f, 0f, canvas.width.toFloat(), persistentTaskbarHeight, paint)
|
||||
}
|
||||
-
|
||||
- // Draw the inverted rounded corners above the taskbar.
|
||||
- canvas.translate(0f, -leftCornerRadius)
|
||||
- canvas.drawPath(invertedLeftCornerPath, paint)
|
||||
- canvas.translate(0f, leftCornerRadius)
|
||||
- canvas.translate(canvas.width - rightCornerRadius, -rightCornerRadius)
|
||||
- canvas.drawPath(invertedRightCornerPath, paint)
|
||||
} else if (!isInSetup) {
|
||||
// backgroundHeight is a value from [0...maxBackgroundHeight], so we can use it as a
|
||||
// proxy to figure out the animation progress of the stash/unstash animation.
|
||||
- // Draw the inverted rounded corners above the taskbar.
|
||||
- canvas.translate(0f, -leftCornerRadius)
|
||||
- canvas.drawPath(invertedLeftCornerPath, paint)
|
||||
- canvas.translate(0f, leftCornerRadius)
|
||||
- canvas.translate(canvas.width - rightCornerRadius, -rightCornerRadius)
|
||||
- canvas.drawPath(invertedRightCornerPath, paint)
|
||||
}
|
||||
|
||||
private fun drawTransientBackground(canvas: Canvas) {
|
||||
--
|
||||
2.34.1
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
From 863e8f70e3a4f987938ff4ad01c22822bc38e409 Mon Sep 17 00:00:00 2001
|
||||
From 0af40237062fa2e1177bfb69f7aedc919c8c70a4 Mon Sep 17 00:00:00 2001
|
||||
From: Andy CrossGate Yan <GeForce8800Ultra@gmail.com>
|
||||
Date: Sun, 20 Jun 2021 09:09:15 +0000
|
||||
Subject: [PATCH 1/4] build: Integrate prop modifications (2/2)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
From 34f8aa093286970f82014f1dae0e86e4cbeba896 Mon Sep 17 00:00:00 2001
|
||||
From fb566e5192808925dcfdaec3ee15dceec9efcbaa Mon Sep 17 00:00:00 2001
|
||||
From: Andy CrossGate Yan <GeForce8800Ultra@gmail.com>
|
||||
Date: Sat, 16 Oct 2021 00:41:07 +0000
|
||||
Subject: [PATCH 2/4] build: Remove Stk (2/2)
|
||||
@@ -22,10 +22,10 @@ index 5ff877c9..ab70301b 100644
|
||||
-PRODUCT_PACKAGES += \
|
||||
- Stk
|
||||
diff --git a/config/telephony.mk b/config/telephony.mk
|
||||
index 6adf48d9..e63b320d 100644
|
||||
index be414ed5..a75ba9a5 100644
|
||||
--- a/config/telephony.mk
|
||||
+++ b/config/telephony.mk
|
||||
@@ -8,8 +8,7 @@ PRODUCT_PACKAGES += \
|
||||
@@ -13,8 +13,7 @@ PRODUCT_PACKAGES += \
|
||||
|
||||
# Telephony packages
|
||||
PRODUCT_PACKAGES += \
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
From 84b5b23519166701423a324cac955e9110e36eae Mon Sep 17 00:00:00 2001
|
||||
From 1d5207e4a74c70a3ea58f8d511ceee6f1316f0be Mon Sep 17 00:00:00 2001
|
||||
From: AndyCGYan <GeForce8800Ultra@gmail.com>
|
||||
Date: Mon, 1 Jul 2019 07:03:04 +0000
|
||||
Subject: [PATCH 3/4] vendor_lineage: Ignore neverallows... again
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
From 05700475543c1dece33a8f49bcb84d5b709a3164 Mon Sep 17 00:00:00 2001
|
||||
From 16541bcf6b647b2aaf9e446fa7cc8d2f83d1a414 Mon Sep 17 00:00:00 2001
|
||||
From: Andy CrossGate Yan <GeForce8800Ultra@gmail.com>
|
||||
Date: Sat, 9 Apr 2022 02:48:55 +0000
|
||||
Subject: [PATCH 4/4] vendor_lineage: Personal theme as SRO
|
||||
|
||||
Last revised on 2023/02/11
|
||||
Last revised on 2024/02/26
|
||||
|
||||
...
|
||||
|
||||
@@ -70,12 +70,12 @@ Change-Id: I43164b7a4145616d162c6b4b4b84d1953cb483cc
|
||||
.../res/drawable/ic_launcher_foreground.xml | 60 +++++++++
|
||||
.../res/drawable/ic_launcher_background.xml | 24 ++++
|
||||
.../res/drawable/ic_launcher_foreground.xml | 34 +++++
|
||||
.../res/drawable/ic_launcher_background.xml | 24 ++++
|
||||
.../res/drawable/ic_launcher_foreground.xml | 34 +++++
|
||||
.../res/drawable/ic_launcher_background.xml | 17 +++
|
||||
.../res/drawable/ic_launcher_foreground.xml | 33 +++++
|
||||
.../res/drawable/ic_launcher_background.xml | 18 +++
|
||||
.../res/drawable/ic_launcher_foreground.xml | 34 +++++
|
||||
.../apps/Messaging/res/values/colors.xml | 7 ++
|
||||
.../Messaging/res/values/lineage_colors.xml | 4 +
|
||||
.../res/drawable/ic_launcher_background.xml | 23 ++++
|
||||
.../res/drawable/ic_launcher_foreground.xml | 33 +++++
|
||||
.../res/drawable/ic_launcher_background.xml | 18 +++
|
||||
@@ -84,7 +84,7 @@ Change-Id: I43164b7a4145616d162c6b4b4b84d1953cb483cc
|
||||
.../res/drawable/ic_launcher_foreground.xml | 34 +++++
|
||||
.../res/drawable/ic_launcher_background.xml | 20 +++
|
||||
.../res/drawable/ic_launcher_foreground.xml | 34 +++++
|
||||
73 files changed, 1632 insertions(+), 2 deletions(-)
|
||||
73 files changed, 1679 insertions(+), 2 deletions(-)
|
||||
create mode 100644 overlay/personal/packages/apps/Aperture/app/src/main/res/drawable/ic_launcher_background.xml
|
||||
create mode 100644 overlay/personal/packages/apps/Aperture/app/src/main/res/drawable/ic_launcher_foreground.xml
|
||||
create mode 100644 overlay/personal/packages/apps/AudioFX/res/drawable/ic_launcher_background.xml
|
||||
@@ -143,12 +143,12 @@ Change-Id: I43164b7a4145616d162c6b4b4b84d1953cb483cc
|
||||
create mode 100644 overlay/personal/packages/apps/ExactCalculator/res/drawable/ic_launcher_foreground.xml
|
||||
create mode 100644 overlay/personal/packages/apps/Gallery2/res/drawable/ic_launcher_background.xml
|
||||
create mode 100644 overlay/personal/packages/apps/Gallery2/res/drawable/ic_launcher_foreground.xml
|
||||
create mode 100644 overlay/personal/packages/apps/Glimpse/app/src/main/res/drawable/ic_launcher_background.xml
|
||||
create mode 100644 overlay/personal/packages/apps/Glimpse/app/src/main/res/drawable/ic_launcher_foreground.xml
|
||||
create mode 100644 overlay/personal/packages/apps/Jelly/app/src/main/res/drawable/ic_launcher_background.xml
|
||||
create mode 100644 overlay/personal/packages/apps/Jelly/app/src/main/res/drawable/ic_launcher_foreground.xml
|
||||
create mode 100644 overlay/personal/packages/apps/Messaging/res/drawable/ic_launcher_background.xml
|
||||
create mode 100644 overlay/personal/packages/apps/Messaging/res/drawable/ic_launcher_foreground.xml
|
||||
create mode 100644 overlay/personal/packages/apps/Messaging/res/values/colors.xml
|
||||
create mode 100644 overlay/personal/packages/apps/Messaging/res/values/lineage_colors.xml
|
||||
create mode 100644 overlay/personal/packages/apps/Recorder/app/src/main/res/drawable/ic_launcher_background.xml
|
||||
create mode 100644 overlay/personal/packages/apps/Recorder/app/src/main/res/drawable/ic_launcher_foreground.xml
|
||||
create mode 100644 overlay/personal/packages/apps/Settings/res/drawable/ic_launcher_background.xml
|
||||
@@ -159,12 +159,12 @@ Change-Id: I43164b7a4145616d162c6b4b4b84d1953cb483cc
|
||||
create mode 100644 overlay/personal/packages/inputmethods/LatinIME/java/res/drawable/ic_launcher_foreground.xml
|
||||
|
||||
diff --git a/config/common.mk b/config/common.mk
|
||||
index 70e0cbaf..4da11943 100644
|
||||
index b19872b0..8e8c83bf 100644
|
||||
--- a/config/common.mk
|
||||
+++ b/config/common.mk
|
||||
@@ -189,10 +189,13 @@ PRODUCT_DEXPREOPT_SPEED_APPS += \
|
||||
PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \
|
||||
dalvik.vm.systemuicompilerfilter=speed
|
||||
@@ -205,10 +205,13 @@ PRODUCT_PRODUCT_PROPERTIES += \
|
||||
setupwizard.theme=glif_v4 \
|
||||
setupwizard.feature.day_night_mode_enabled=true
|
||||
|
||||
-PRODUCT_ENFORCE_RRO_EXCLUDED_OVERLAYS += vendor/lineage/overlay/no-rro
|
||||
+PRODUCT_ENFORCE_RRO_EXCLUDED_OVERLAYS += \
|
||||
@@ -1822,6 +1822,76 @@ index 00000000..03b51d0c
|
||||
+ </path>
|
||||
+ </group>
|
||||
+</vector>
|
||||
diff --git a/overlay/personal/packages/apps/Glimpse/app/src/main/res/drawable/ic_launcher_background.xml b/overlay/personal/packages/apps/Glimpse/app/src/main/res/drawable/ic_launcher_background.xml
|
||||
new file mode 100644
|
||||
index 00000000..32abe0b8
|
||||
--- /dev/null
|
||||
+++ b/overlay/personal/packages/apps/Glimpse/app/src/main/res/drawable/ic_launcher_background.xml
|
||||
@@ -0,0 +1,24 @@
|
||||
+<?xml version="1.0" encoding="utf-8"?>
|
||||
+<!--
|
||||
+ SPDX-FileCopyrightText: 2022 The LineageOS Project
|
||||
+ SPDX-License-Identifier: Apache-2.0
|
||||
+-->
|
||||
+<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
+ android:width="108dp"
|
||||
+ android:height="108dp"
|
||||
+ android:viewportWidth="108"
|
||||
+ android:viewportHeight="108">
|
||||
+ <group>
|
||||
+ <clip-path
|
||||
+ android:pathData="M0,0h108v108h-108z"/>
|
||||
+ <path
|
||||
+ android:pathData="M0,0h108v108h-108z"
|
||||
+ android:fillColor="#FFFFFF"/>
|
||||
+ <path
|
||||
+ android:pathData="M15,108L78,45L141,108H15Z"
|
||||
+ android:fillColor="@android:color/system_neutral1_200"/>
|
||||
+ <path
|
||||
+ android:pathData="M-18,108L45,45L108,108H-18Z"
|
||||
+ android:fillColor="@android:color/system_neutral1_100"/>
|
||||
+ </group>
|
||||
+</vector>
|
||||
diff --git a/overlay/personal/packages/apps/Glimpse/app/src/main/res/drawable/ic_launcher_foreground.xml b/overlay/personal/packages/apps/Glimpse/app/src/main/res/drawable/ic_launcher_foreground.xml
|
||||
new file mode 100644
|
||||
index 00000000..03b51d0c
|
||||
--- /dev/null
|
||||
+++ b/overlay/personal/packages/apps/Glimpse/app/src/main/res/drawable/ic_launcher_foreground.xml
|
||||
@@ -0,0 +1,34 @@
|
||||
+<?xml version="1.0" encoding="utf-8"?>
|
||||
+<!--
|
||||
+ SPDX-FileCopyrightText: 2022 The LineageOS Project
|
||||
+ SPDX-License-Identifier: Apache-2.0
|
||||
+-->
|
||||
+<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
+ xmlns:aapt="http://schemas.android.com/aapt"
|
||||
+ android:width="108dp"
|
||||
+ android:height="108dp"
|
||||
+ android:viewportWidth="108"
|
||||
+ android:viewportHeight="108">
|
||||
+ <group>
|
||||
+ <clip-path
|
||||
+ android:pathData="M0,0h108v108h-108z"/>
|
||||
+ <path
|
||||
+ android:pathData="M108,0H0V108H108V0ZM34,38C31.791,38 30,39.791 30,42V66C30,68.209 31.791,70 34,70H74C76.209,70 78,68.209 78,66V42C78,39.791 76.209,38 74,38H34Z"
|
||||
+ android:fillColor="@android:color/system_accent1_600"
|
||||
+ android:fillType="evenOdd"/>
|
||||
+ <path
|
||||
+ android:pathData="M28.54,28.54m-72,0a72,72 0,1 1,144 0a72,72 0,1 1,-144 0"
|
||||
+ android:fillAlpha="0.6">
|
||||
+ <aapt:attr name="android:fillColor">
|
||||
+ <gradient
|
||||
+ android:gradientRadius="72"
|
||||
+ android:centerX="28.54"
|
||||
+ android:centerY="28.54"
|
||||
+ android:type="radial">
|
||||
+ <item android:offset="0" android:color="#19FFFFFF"/>
|
||||
+ <item android:offset="1" android:color="#00FFFFFF"/>
|
||||
+ </gradient>
|
||||
+ </aapt:attr>
|
||||
+ </path>
|
||||
+ </group>
|
||||
+</vector>
|
||||
diff --git a/overlay/personal/packages/apps/Jelly/app/src/main/res/drawable/ic_launcher_background.xml b/overlay/personal/packages/apps/Jelly/app/src/main/res/drawable/ic_launcher_background.xml
|
||||
new file mode 100644
|
||||
index 00000000..bf75b615
|
||||
@@ -1948,29 +2018,6 @@ index 00000000..ab598892
|
||||
+ </path>
|
||||
+ </group>
|
||||
+</vector>
|
||||
diff --git a/overlay/personal/packages/apps/Messaging/res/values/colors.xml b/overlay/personal/packages/apps/Messaging/res/values/colors.xml
|
||||
new file mode 100644
|
||||
index 00000000..6e1ef338
|
||||
--- /dev/null
|
||||
+++ b/overlay/personal/packages/apps/Messaging/res/values/colors.xml
|
||||
@@ -0,0 +1,7 @@
|
||||
+<?xml version="1.0" encoding="utf-8"?>
|
||||
+<resources>
|
||||
+ <color name="primary_color">#2A56C6</color>
|
||||
+ <color name="action_bar_background_color_dark">#1C3AA9</color>
|
||||
+ <color name="message_image_selected_tint">#802A56C6</color>
|
||||
+ <color name="text_highlight_color">#802A56C6</color>
|
||||
+</resources>
|
||||
diff --git a/overlay/personal/packages/apps/Messaging/res/values/lineage_colors.xml b/overlay/personal/packages/apps/Messaging/res/values/lineage_colors.xml
|
||||
new file mode 100644
|
||||
index 00000000..7b407a1c
|
||||
--- /dev/null
|
||||
+++ b/overlay/personal/packages/apps/Messaging/res/values/lineage_colors.xml
|
||||
@@ -0,0 +1,4 @@
|
||||
+<?xml version="1.0" encoding="utf-8"?>
|
||||
+<resources>
|
||||
+ <color name="lineage_accent">#F50057</color>
|
||||
+</resources>
|
||||
diff --git a/overlay/personal/packages/apps/Recorder/app/src/main/res/drawable/ic_launcher_background.xml b/overlay/personal/packages/apps/Recorder/app/src/main/res/drawable/ic_launcher_background.xml
|
||||
new file mode 100644
|
||||
index 00000000..afc988fc
|
||||
|
||||
Reference in New Issue
Block a user