From 0b2363a38fc95cb4e42515d552cdec14ea807379 Mon Sep 17 00:00:00 2001 From: Matt Buckley Date: Tue, 6 Dec 2022 21:59:06 +0000 Subject: [PATCH 1/5] Disable HWUI adpf by default and enable in device.mk * Make HWUI disabled by default for vendors * Explicitly enable in supported devices * Consolidate flags for HWUI and SF Bug: b/261628396 Test: manual Change-Id: I9d63fb3845adbb9f65a81638eb90a15ba15fb507 --- device-tangorpro.mk | 4 ---- 1 file changed, 4 deletions(-) diff --git a/device-tangorpro.mk b/device-tangorpro.mk index d1d9de6..d598a25 100644 --- a/device-tangorpro.mk +++ b/device-tangorpro.mk @@ -192,10 +192,6 @@ PRODUCT_DEFAULT_PROPERTY_OVERRIDES += vendor.display.lbe.supported=1 # Display CABC PRODUCT_DEFAULT_PROPERTY_OVERRIDES += vendor.display.cabc.supported?=1 -# Enable adpf cpu hint session for SurfaceFlinger -PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \ - debug.sf.enable_adpf_cpu_hint=true - # Set zram size PRODUCT_VENDOR_PROPERTIES += \ vendor.zram.size=3g From 32eaab94ec67c85603826ef62e798b9f5f63ae7a Mon Sep 17 00:00:00 2001 From: Mariia Sandrikova Date: Sat, 3 Dec 2022 03:00:51 +0000 Subject: [PATCH 2/5] [1/n][Pro] Change natural device orientation to portrait. This change is needed to ensure compatibility of Camera apps that rely on natural orientation being aligned with portrait camera orientation. 0 degrees is selected over 180 to have the back camera at the top of the device when portrait-only apps are force rotated into specific orientation for compatibility. Also, temporary override ro.surface_flinger.primary_display_orientation to use it instead the value from HWC API to avoid breaking the build even for a short period of time since there is no direct way to synchronize landing of this CLs chain with pa/2342172 Bug: 246793311 Test: manual QA for top apps and manual exploratory testing for overall device experience Change-Id: I67f9cb522f4478c83ac6bbc18da2eaf4ee0dd686 --- NVTCapacitivePen.idc | 2 +- NVTCapacitiveTouchScreen.idc | 2 +- device-tangorpro.mk | 4 ++++ 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/NVTCapacitivePen.idc b/NVTCapacitivePen.idc index 39f5158..698d0db 100644 --- a/NVTCapacitivePen.idc +++ b/NVTCapacitivePen.idc @@ -1,2 +1,2 @@ touch.orientationAware = 1 -touch.orientation = ORIENTATION_270 +touch.orientation = ORIENTATION_0 diff --git a/NVTCapacitiveTouchScreen.idc b/NVTCapacitiveTouchScreen.idc index bcfcb54..5c2afd6 100644 --- a/NVTCapacitiveTouchScreen.idc +++ b/NVTCapacitiveTouchScreen.idc @@ -1 +1 @@ -touch.orientation = ORIENTATION_270 +touch.orientation = ORIENTATION_0 diff --git a/device-tangorpro.mk b/device-tangorpro.mk index 5896ff8..13aa7e6 100644 --- a/device-tangorpro.mk +++ b/device-tangorpro.mk @@ -146,6 +146,10 @@ PRODUCT_PROPERTY_OVERRIDES += \ # Set ro.crypto.metadata_init_delete_all_keys.enabled to false to unblock boot PRODUCT_PROPERTY_OVERRIDES += ro.crypto.metadata_init_delete_all_keys.enabled=false +# Temporary override to synchronise changes in pa/ and ag/. See b/246793311 for context. +PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.primary_display_orientation=ORIENTATION_0 +PRODUCT_DEFAULT_PROPERTY_OVERRIDES += debug.sf.ignore_hwc_physical_display_orientation=true + # Display white balance PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \ ro.surface_flinger.display_primary_red=0.5128,0.2413,0.0000 \ From e28a4937ec9f608ced6008a9789ab190c5c09913 Mon Sep 17 00:00:00 2001 From: Mariia Sandrikova Date: Sat, 10 Dec 2022 02:37:22 +0000 Subject: [PATCH 3/5] [2/2][Pro] Set orientation for boot animation and default display rotation. Change the default display rotation value and boot animation orientation to 270. This is needed to preserve primary landscape UX after device natural orientation changes to portrait. Context: go/tangor-natural-orientation Bug: 260627934 Test: manual test with all 4 values Change-Id: I1ff42f7df21ec8231ff19fd7e209cfbb84537f93 --- device-tangorpro.mk | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/device-tangorpro.mk b/device-tangorpro.mk index 13aa7e6..db59603 100644 --- a/device-tangorpro.mk +++ b/device-tangorpro.mk @@ -150,6 +150,11 @@ PRODUCT_PROPERTY_OVERRIDES += ro.crypto.metadata_init_delete_all_keys.enabled=fa PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.primary_display_orientation=ORIENTATION_0 PRODUCT_DEFAULT_PROPERTY_OVERRIDES += debug.sf.ignore_hwc_physical_display_orientation=true +# Set boot animation orientation and default display rotation to be landscape since Tangor +# natural orientation is portrait. Id at the end corresponds to the display id on the device. +# See b/246793311 for context. +PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.bootanim.set_orientation_4619827677550801152=ORIENTATION_270 + # Display white balance PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \ ro.surface_flinger.display_primary_red=0.5128,0.2413,0.0000 \ From 3e756177d34be9b14a8b6c3eb5cc33defaf7d655 Mon Sep 17 00:00:00 2001 From: Ken Yang Date: Tue, 20 Dec 2022 02:06:55 +0000 Subject: [PATCH 4/5] WLC: Inlucde the wireless_charger for sepolicy Bug: 237600973 Change-Id: Ifbde590547c8136718f08f1efdbeda249348d46a Signed-off-by: Ken Yang --- device-tangorpro.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/device-tangorpro.mk b/device-tangorpro.mk index 06f15cb..ae10f65 100644 --- a/device-tangorpro.mk +++ b/device-tangorpro.mk @@ -52,6 +52,7 @@ DISABLE_TELEPHONY_EUICC := true include device/google/tangorpro/audio/tangorpro/audio-tables.mk include device/google/gs201/device-shipping-common.mk include device/google/gs-common/touch/gti/gti.mk +include device/google/gs-common/wireless_charger/wireless_charger.mk # go/lyric-soong-variables $(call soong_config_set,lyric,camera_hardware,tangorpro) From c3a8473e64f718efeabec80bf7550d0cfe3f6a8d Mon Sep 17 00:00:00 2001 From: millerliang Date: Tue, 20 Dec 2022 17:38:43 +0800 Subject: [PATCH 5/5] audio: adjust the latency for camcorder av sync Adjust the dsp_latency for camcorder with BT to sync the audio and video. Bug: 260712719 Test: manual test passed Change-Id: I5270ed6202b5476105eca0e63f437430ce778a8c Signed-off-by: millerliang --- audio/tangorpro/config/audio_platform_configuration.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/audio/tangorpro/config/audio_platform_configuration.xml b/audio/tangorpro/config/audio_platform_configuration.xml index 734c695..279fe69 100644 --- a/audio/tangorpro/config/audio_platform_configuration.xml +++ b/audio/tangorpro/config/audio_platform_configuration.xml @@ -232,10 +232,10 @@ - - - - + + + +