From 1c49162f146970817950394d1592db77bea3a3dc Mon Sep 17 00:00:00 2001 From: shawnlin Date: Thu, 22 Apr 2021 13:27:45 +0800 Subject: [PATCH 1/4] Add hide cutout overlays to raven & oriole Bug: 185779885 Bug: 185779883 Test: make Change-Id: Ib6e9207e7d26ae815e10af6705fc6b7dd6dada1c --- device-oriole.mk | 5 +++++ device-raven.mk | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/device-oriole.mk b/device-oriole.mk index 6f90e20..e8e1bca 100644 --- a/device-oriole.mk +++ b/device-oriole.mk @@ -107,3 +107,8 @@ endif # Increment the SVN for any official public releases PRODUCT_VENDOR_PROPERTIES += \ ro.vendor.build.svn=1 + +# Hide cutout overlays +PRODUCT_PACKAGES += \ + NoCutoutOverlay \ + AvoidAppsInCutoutOverlay diff --git a/device-raven.mk b/device-raven.mk index 8ef95c3..89074de 100644 --- a/device-raven.mk +++ b/device-raven.mk @@ -106,3 +106,8 @@ endif # Increment the SVN for any official public releases PRODUCT_VENDOR_PROPERTIES += \ ro.vendor.build.svn=1 + +# Hide cutout overlays +PRODUCT_PACKAGES += \ + NoCutoutOverlay \ + AvoidAppsInCutoutOverlay From 9cf71a9b1d0a23322002ce535982d28baee879f8 Mon Sep 17 00:00:00 2001 From: Yichi Chen Date: Thu, 29 Apr 2021 17:39:48 +0800 Subject: [PATCH 2/4] Raven: Enable smooth display with 120Hz The patch turns on smooth display in Settings App by default to allow more users experience 120Hz. Users can still disable the feature in Settings App. Bug: 185102566 Test: Basic panel flickering and performance tests by UTD Change-Id: I67420f5625294873095c624d75ee7914bbe22035 --- .../frameworks/base/core/res/res/values/config.xml | 10 +++++++--- .../frameworks/base/core/res/res/values/config.xml | 8 ++++++++ 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/oriole/overlay/frameworks/base/core/res/res/values/config.xml b/oriole/overlay/frameworks/base/core/res/res/values/config.xml index a3317ee..8194bb4 100644 --- a/oriole/overlay/frameworks/base/core/res/res/values/config.xml +++ b/oriole/overlay/frameworks/base/core/res/res/values/config.xml @@ -37,6 +37,13 @@ Must be in the range specified by minimum and maximum. --> 0.29019607843 + + 0 + + + 90 + -0.4553233597 @@ -180,7 +187,4 @@ com.google.sensor.quick_pickup - - 90 - diff --git a/raven/overlay/frameworks/base/core/res/res/values/config.xml b/raven/overlay/frameworks/base/core/res/res/values/config.xml index f8536b0..91fed9e 100644 --- a/raven/overlay/frameworks/base/core/res/res/values/config.xml +++ b/raven/overlay/frameworks/base/core/res/res/values/config.xml @@ -86,6 +86,13 @@ Must be in the range specified by minimum and maximum. --> 0.29019607843 + + 0 + + + 120 + http://www.gstatic.com/android/sms/G8V0U.xml + From 7c81054244638129f8d5cf8750e00d2a2d3c4eea Mon Sep 17 00:00:00 2001 From: Carter Hsu Date: Wed, 21 Apr 2021 18:09:52 +0800 Subject: [PATCH 3/4] audio: add bt-mic for audio capture Bug: 185209822 Test: build pass Signed-off-by: Carter Hsu Change-Id: I4d37148ed75e57e8077b6a752b190ee87d289a9a --- audio/oriole/config/mixer_paths.xml | 1 + audio/raven/config/mixer_paths.xml | 1 + 2 files changed, 2 insertions(+) diff --git a/audio/oriole/config/mixer_paths.xml b/audio/oriole/config/mixer_paths.xml index e56b314..27da7b5 100644 --- a/audio/oriole/config/mixer_paths.xml +++ b/audio/oriole/config/mixer_paths.xml @@ -521,6 +521,7 @@ + diff --git a/audio/raven/config/mixer_paths.xml b/audio/raven/config/mixer_paths.xml index ddc5857..f37ce2b 100644 --- a/audio/raven/config/mixer_paths.xml +++ b/audio/raven/config/mixer_paths.xml @@ -548,6 +548,7 @@ + From ca7a6331efafdb05786f702be5951f6547d1dc12 Mon Sep 17 00:00:00 2001 From: Blake Kragten Date: Tue, 6 Apr 2021 13:33:55 -0700 Subject: [PATCH 4/4] Add Modem Thermistors To make thermisters rf1_therm and rf2_therm visible to thermal hal they are needed to be added to the thermal_info_config Bug: 171092743 Test: On Device Change-Id: I6ae8933afed7cfbd9b90290eddb7b84aaa7612de --- thermal_info_config_oriole.json | 32 +++++++++++++++++++++++++++++++- thermal_info_config_raven.json | 32 +++++++++++++++++++++++++++++++- 2 files changed, 62 insertions(+), 2 deletions(-) diff --git a/thermal_info_config_oriole.json b/thermal_info_config_oriole.json index 26a1b38..a9766c5 100644 --- a/thermal_info_config_oriole.json +++ b/thermal_info_config_oriole.json @@ -15,6 +15,36 @@ "VrThreshold":"NAN", "Multiplier":0.001 }, + { + "Name":"rf1_therm", + "Type":"UNKNOWN", + "HotThreshold":[ + "NAN", + "NAN", + "NAN", + "NAN", + "NAN", + "NAN", + "NAN" + ], + "VrThreshold":"NAN", + "Multiplier":0.001 + }, + { + "Name":"rf2_therm", + "Type":"UNKNOWN", + "HotThreshold":[ + "NAN", + "NAN", + "NAN", + "NAN", + "NAN", + "NAN", + "NAN" + ], + "VrThreshold":"NAN", + "Multiplier":0.001 + }, { "Name":"neutral_therm", "Type":"UNKNOWN", @@ -243,8 +273,8 @@ 0.0, 0.0, 0.0, - 0.0, 1.9, + 0.0, 0.0 ], "VrThreshold":"NAN", diff --git a/thermal_info_config_raven.json b/thermal_info_config_raven.json index 4eb649c..ba3a340 100644 --- a/thermal_info_config_raven.json +++ b/thermal_info_config_raven.json @@ -15,6 +15,36 @@ "VrThreshold":"NAN", "Multiplier":0.001 }, + { + "Name":"rf1_therm", + "Type":"UNKNOWN", + "HotThreshold":[ + "NAN", + "NAN", + "NAN", + "NAN", + "NAN", + "NAN", + "NAN" + ], + "VrThreshold":"NAN", + "Multiplier":0.001 + }, + { + "Name":"rf2_therm", + "Type":"UNKNOWN", + "HotThreshold":[ + "NAN", + "NAN", + "NAN", + "NAN", + "NAN", + "NAN", + "NAN" + ], + "VrThreshold":"NAN", + "Multiplier":0.001 + }, { "Name":"neutral_therm", "Type":"UNKNOWN", @@ -243,8 +273,8 @@ 0.0, 0.0, 0.0, - 0.0, 1.9, + 0.0, 0.0 ], "VrThreshold":"NAN",