Changes for September 2021, syncing up to v312
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
From be385f9b5a114352ad71a1224b08f40431ef9527 Mon Sep 17 00:00:00 2001
|
||||
From 82f334dccb2d14c1415ad31ec955b646b5ef0903 Mon Sep 17 00:00:00 2001
|
||||
From: Andy CrossGate Yan <GeForce8800Ultra@gmail.com>
|
||||
Date: Mon, 5 Mar 2018 23:12:46 +0800
|
||||
Subject: [PATCH 1/2] DeskClock: Adjust colors and layout
|
||||
Subject: [PATCH 1/3] DeskClock: Adjust colors and layout
|
||||
|
||||
Change-Id: I6e876ddf94bdf63062630764beb9b5139110fe4d
|
||||
---
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
From c17ad9817f16ca7ef8d0209713dec79a0d0afbac Mon Sep 17 00:00:00 2001
|
||||
From 9dbc9d8105c3df1efe714d509622d338e7b9413f Mon Sep 17 00:00:00 2001
|
||||
From: AndyCGYan <GeForce8800Ultra@gmail.com>
|
||||
Date: Wed, 26 Dec 2018 22:38:54 +0800
|
||||
Subject: [PATCH 2/2] DeskClock: Revert date and clock to Lollipop style
|
||||
Subject: [PATCH 2/3] DeskClock: Revert date and clock to Lollipop style
|
||||
|
||||
Also added dynamic date format based on alarm presence
|
||||
|
||||
|
||||
@@ -0,0 +1,61 @@
|
||||
From 5778373cb0bfbf81bfb264930a61435a1c5eda2a 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 3/3] DeskClock: Remove night mode
|
||||
|
||||
Change-Id: I885f39027e78fcda397f1be59d17bc24bc66671a
|
||||
---
|
||||
res/xml/screensaver_settings.xml | 8 +-------
|
||||
src/com/android/deskclock/Screensaver.java | 5 ++---
|
||||
src/com/android/deskclock/ScreensaverActivity.java | 2 +-
|
||||
3 files changed, 4 insertions(+), 11 deletions(-)
|
||||
|
||||
diff --git a/res/xml/screensaver_settings.xml b/res/xml/screensaver_settings.xml
|
||||
index 1680aab83..73375dcfa 100644
|
||||
--- a/res/xml/screensaver_settings.xml
|
||||
+++ b/res/xml/screensaver_settings.xml
|
||||
@@ -24,10 +24,4 @@
|
||||
android:key="screensaver_clock_style"
|
||||
android:title="@string/clock_style" />
|
||||
|
||||
- <CheckBoxPreference
|
||||
- android:defaultValue="true"
|
||||
- android:key="screensaver_night_mode"
|
||||
- android:summary="@string/night_mode_summary"
|
||||
- android:title="@string/night_mode_title" />
|
||||
-
|
||||
-</PreferenceScreen>
|
||||
\ No newline at end of file
|
||||
+</PreferenceScreen>
|
||||
diff --git a/src/com/android/deskclock/Screensaver.java b/src/com/android/deskclock/Screensaver.java
|
||||
index 7f01d880a..b295d7a77 100644
|
||||
--- a/src/com/android/deskclock/Screensaver.java
|
||||
+++ b/src/com/android/deskclock/Screensaver.java
|
||||
@@ -166,9 +166,8 @@ public final class Screensaver extends DreamService {
|
||||
|
||||
private void setClockStyle() {
|
||||
Utils.setScreensaverClockStyle(mDigitalClock, mAnalogClock);
|
||||
- final boolean dimNightMode = DataModel.getDataModel().getScreensaverNightModeOn();
|
||||
- Utils.dimClockView(dimNightMode, mMainClockView);
|
||||
- setScreenBright(!dimNightMode);
|
||||
+ Utils.dimClockView(false, mMainClockView);
|
||||
+ setScreenBright(true);
|
||||
}
|
||||
|
||||
/**
|
||||
diff --git a/src/com/android/deskclock/ScreensaverActivity.java b/src/com/android/deskclock/ScreensaverActivity.java
|
||||
index 14c9bab00..912d59b2c 100644
|
||||
--- a/src/com/android/deskclock/ScreensaverActivity.java
|
||||
+++ b/src/com/android/deskclock/ScreensaverActivity.java
|
||||
@@ -119,7 +119,7 @@ public class ScreensaverActivity extends BaseActivity {
|
||||
Utils.setClockIconTypeface(mMainClockView);
|
||||
Utils.setTimeFormat((TextClock) digitalClock, false);
|
||||
Utils.setClockStyle(digitalClock, analogClock);
|
||||
- Utils.dimClockView(true, mMainClockView);
|
||||
+ Utils.dimClockView(false, mMainClockView);
|
||||
analogClock.enableSeconds(false);
|
||||
|
||||
mContentView.setSystemUiVisibility(View.SYSTEM_UI_FLAG_LOW_PROFILE
|
||||
--
|
||||
2.25.1
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
From 52c4c60343cc71aa6c8cfa8efc68f394981c8da9 Mon Sep 17 00:00:00 2001
|
||||
From 736cce8f2de28a5924b7eb93e63b76da64a673eb Mon Sep 17 00:00:00 2001
|
||||
From: Andy CrossGate Yan <GeForce8800Ultra@gmail.com>
|
||||
Date: Sat, 17 Oct 2020 07:57:20 +0000
|
||||
Subject: [PATCH] Messaging: Use blue accent
|
||||
@@ -16,7 +16,8 @@ Change-Id: I88d4de2d423afdb1bc854788aa84524af4048f9d
|
||||
res/mipmap-xxxhdpi/ic_background.png | Bin 1703 -> 15814 bytes
|
||||
res/mipmap-xxxhdpi/ic_foreground.png | Bin 73275 -> 76057 bytes
|
||||
res/values/colors.xml | 10 +++++-----
|
||||
11 files changed, 5 insertions(+), 5 deletions(-)
|
||||
res/values/lineage_colors.xml | 2 +-
|
||||
12 files changed, 6 insertions(+), 6 deletions(-)
|
||||
|
||||
diff --git a/res/mipmap-hdpi/ic_background.png b/res/mipmap-hdpi/ic_background.png
|
||||
index b4a472c2d5bf54a78026c78872fa680865dba4ab..57d070ee334520304146ac85115dbce207211f92 100644
|
||||
@@ -6485,7 +6486,7 @@ zNk8y${U;j&s$AQ+(;gNk*;GM$r6TdatC�&m_WG@&BhZ{m#E9N#yi6+k!mo9!|71
|
||||
L^wq0WZ6p2%y}sDs
|
||||
|
||||
diff --git a/res/values/colors.xml b/res/values/colors.xml
|
||||
index a380383..747bc43 100644
|
||||
index a380383..2ae2833 100644
|
||||
--- a/res/values/colors.xml
|
||||
+++ b/res/values/colors.xml
|
||||
@@ -15,13 +15,13 @@
|
||||
@@ -6510,7 +6511,7 @@ index a380383..747bc43 100644
|
||||
<color name="message_audio_button_color_incoming">#ffffffff</color>
|
||||
- <color name="message_bubble_color_selected">#8BC34A</color>
|
||||
- <color name="message_image_selected_tint">#80689F38</color>
|
||||
+ <color name="message_bubble_color_selected">@color/lineage_accent</color>
|
||||
+ <color name="message_bubble_color_selected">#3ea4dc</color>
|
||||
+ <color name="message_image_selected_tint">#800288d1</color>
|
||||
<color name="generic_video_icon">#ff808080</color>
|
||||
|
||||
@@ -6524,6 +6525,19 @@ index a380383..747bc43 100644
|
||||
<color name="search_view_text_cursor">#b0dddddd</color>
|
||||
|
||||
<color name="button_bar_action_button_text_color">#03a9f4</color>
|
||||
diff --git a/res/values/lineage_colors.xml b/res/values/lineage_colors.xml
|
||||
index 787d5e5..a3b1037 100644
|
||||
--- a/res/values/lineage_colors.xml
|
||||
+++ b/res/values/lineage_colors.xml
|
||||
@@ -16,7 +16,7 @@
|
||||
limitations under the License.
|
||||
-->
|
||||
<resources>
|
||||
- <color name="lineage_accent">#FF9800</color>
|
||||
+ <color name="lineage_accent">#0288D1</color>
|
||||
<color name="button_text">#000000</color>
|
||||
|
||||
<color name="navigation_bar_bg">@android:color/white</color>
|
||||
--
|
||||
2.25.1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user