From 14150a77b9aee57e88b3b37ad9b729b3b58f9421 Mon Sep 17 00:00:00 2001 From: SianyiHuang Date: Tue, 28 Dec 2021 21:02:41 +0800 Subject: [PATCH 1/5] Config: fine tune the ambient threshold to improve the brightness stability Bug: 215655995 Test: adb shell dumpsys display and check the log. Change-Id: If75b3ed85d4cc2dccb24cb6bfb71e7e0958d986a --- .../base/core/res/res/values/config.xml | 69 +++++++++++++++++++ .../base/core/res/res/values/config.xml | 69 +++++++++++++++++++ 2 files changed, 138 insertions(+) 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 cf57ec0..d93eb1f 100644 --- a/oriole/overlay/frameworks/base/core/res/res/values/config.xml +++ b/oriole/overlay/frameworks/base/core/res/res/values/config.xml @@ -311,4 +311,73 @@ 64 + + + 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 + 20 + 30 + 40 + 50 + 60 + 70 + 80 + 90 + 100 + + + + 11373 + 5000 + 4333 + 3666 + 3000 + 2760 + 2520 + 2280 + 2040 + 1800 + 800 + 527 + 500 + 470 + 396 + 322 + 248 + 174 + 99 + 99 + + + + 853 + 700 + 683 + 666 + 650 + 640 + 630 + 620 + 610 + 600 + 500 + 500 + 440 + 385 + 348 + 311 + 274 + 237 + 200 + 200 + + 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 491a4cc..cffd560 100644 --- a/raven/overlay/frameworks/base/core/res/res/values/config.xml +++ b/raven/overlay/frameworks/base/core/res/res/values/config.xml @@ -284,4 +284,73 @@ 64 + + + 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 + 20 + 30 + 40 + 50 + 60 + 70 + 80 + 90 + 100 + + + + 11373 + 5000 + 4333 + 3666 + 3000 + 2760 + 2520 + 2280 + 2040 + 1800 + 800 + 527 + 500 + 470 + 396 + 322 + 248 + 174 + 99 + 99 + + + + 853 + 700 + 683 + 666 + 650 + 640 + 630 + 620 + 610 + 600 + 500 + 500 + 440 + 385 + 348 + 311 + 274 + 237 + 200 + 200 + + From f844946328ecea1707dda0bd7a13dbc16f212f39 Mon Sep 17 00:00:00 2001 From: Victor Liu Date: Tue, 15 Feb 2022 08:23:32 -0800 Subject: [PATCH 2/5] uwb: remove calibration script The calibration script will be copied higher level device uwb.mk Bug: 219611318 Test: builds Signed-off-by: Victor Liu Change-Id: I9f799d9a9655b172e1ace8fa0272644f0034b8b5 --- uwb/uwb_calibration.mk | 1 - 1 file changed, 1 deletion(-) diff --git a/uwb/uwb_calibration.mk b/uwb/uwb_calibration.mk index 6c6b410..d0585d9 100644 --- a/uwb/uwb_calibration.mk +++ b/uwb/uwb_calibration.mk @@ -19,4 +19,3 @@ PRODUCT_COPY_FILES += \ $(LOCAL_UWB_CAL_DIR)/UWB-calibration.conf:$(TARGET_COPY_OUT_VENDOR)/etc/UWB-calibration.conf \ $(LOCAL_UWB_CAL_DIR)/UWB-calibration.conf:$(TARGET_COPY_OUT_VENDOR)/etc/UWB-calibration-unknown.conf \ $(LOCAL_UWB_CAL_DIR)/UWB-calibration.conf:$(TARGET_COPY_OUT_VENDOR)/etc/UWB-calibration-default.conf \ - vendor/qorvo/uwb/aosp/init.uwb.calib.xtal.sh:$(TARGET_COPY_OUT_VENDOR)/bin/init.uwb.calib.sh \ From 6c363973fcb04d664d180aa00f650546bf386ca4 Mon Sep 17 00:00:00 2001 From: shawnlin Date: Tue, 15 Feb 2022 13:40:37 +0800 Subject: [PATCH 3/5] Add no cutout overlay packages for raven & oriole Bug: 217772613 Test: make Change-Id: I097081fa87a87f034725f44599f9e575b8e00a80 --- device-oriole.mk | 4 ++++ device-raven.mk | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/device-oriole.mk b/device-oriole.mk index c38708a..12dc717 100644 --- a/device-oriole.mk +++ b/device-oriole.mk @@ -181,6 +181,10 @@ endif PRODUCT_VENDOR_PROPERTIES += \ ro.vendor.build.svn=24 +# Set support hide display cutout feature +PRODUCT_PRODUCT_PROPERTIES += \ + ro.support_hide_display_cutout=true + # Hide cutout overlays PRODUCT_PACKAGES += \ NoCutoutOverlay \ diff --git a/device-raven.mk b/device-raven.mk index a8bd9d4..3d1aaa2 100644 --- a/device-raven.mk +++ b/device-raven.mk @@ -194,6 +194,10 @@ endif PRODUCT_VENDOR_PROPERTIES += \ ro.vendor.build.svn=24 +# Set support hide display cutout feature +PRODUCT_PRODUCT_PROPERTIES += \ + ro.support_hide_display_cutout=true + # Hide cutout overlays PRODUCT_PACKAGES += \ NoCutoutOverlay \ From cd290ec3291f3f078083529de6574bc94480c8ea Mon Sep 17 00:00:00 2001 From: Wei Wang Date: Tue, 15 Feb 2022 18:55:49 -0800 Subject: [PATCH 4/5] Do not initialize restricted cpuset during boot. Bug: 219518509 Bug: 217481359 Test: Build Signed-off-by: Wei Wang Change-Id: I4f62c118fe9280cadb85f6fde75016c109b1b3f9 --- powerhint-oriole.json | 2 +- powerhint-raven.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/powerhint-oriole.json b/powerhint-oriole.json index 8f1bcb4..a3b6d99 100644 --- a/powerhint-oriole.json +++ b/powerhint-oriole.json @@ -196,7 +196,7 @@ "0-3", "0-7" ], - "ResetOnInit": true + "ResetOnInit": false }, { "Name": "CDHighCpusetCpus", diff --git a/powerhint-raven.json b/powerhint-raven.json index 0e1eb32..19c6469 100644 --- a/powerhint-raven.json +++ b/powerhint-raven.json @@ -197,7 +197,7 @@ "0-3", "0-7" ], - "ResetOnInit": true + "ResetOnInit": false }, { "Name": "CDHighCpusetCpus", From 5d41f2aaa9dca0dc56782d84181c2d1a3f7d268e Mon Sep 17 00:00:00 2001 From: SianyiHuang Date: Tue, 28 Dec 2021 21:02:41 +0800 Subject: [PATCH 5/5] Config: fine tune the ambient threshold to improve the brightness stability Bug: 215655995 Test: adb shell dumpsys display and check the log. Change-Id: If75b3ed85d4cc2dccb24cb6bfb71e7e0958d986a --- .../base/core/res/res/values/config.xml | 69 +++++++++++++++++++ .../base/core/res/res/values/config.xml | 69 +++++++++++++++++++ 2 files changed, 138 insertions(+) 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 cf57ec0..d93eb1f 100644 --- a/oriole/overlay/frameworks/base/core/res/res/values/config.xml +++ b/oriole/overlay/frameworks/base/core/res/res/values/config.xml @@ -311,4 +311,73 @@ 64 + + + 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 + 20 + 30 + 40 + 50 + 60 + 70 + 80 + 90 + 100 + + + + 11373 + 5000 + 4333 + 3666 + 3000 + 2760 + 2520 + 2280 + 2040 + 1800 + 800 + 527 + 500 + 470 + 396 + 322 + 248 + 174 + 99 + 99 + + + + 853 + 700 + 683 + 666 + 650 + 640 + 630 + 620 + 610 + 600 + 500 + 500 + 440 + 385 + 348 + 311 + 274 + 237 + 200 + 200 + + 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 491a4cc..cffd560 100644 --- a/raven/overlay/frameworks/base/core/res/res/values/config.xml +++ b/raven/overlay/frameworks/base/core/res/res/values/config.xml @@ -284,4 +284,73 @@ 64 + + + 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 + 20 + 30 + 40 + 50 + 60 + 70 + 80 + 90 + 100 + + + + 11373 + 5000 + 4333 + 3666 + 3000 + 2760 + 2520 + 2280 + 2040 + 1800 + 800 + 527 + 500 + 470 + 396 + 322 + 248 + 174 + 99 + 99 + + + + 853 + 700 + 683 + 666 + 650 + 640 + 630 + 620 + 610 + 600 + 500 + 500 + 440 + 385 + 348 + 311 + 274 + 237 + 200 + 200 + +