From 0e2af5bf1dfb3ce3021c65afd180e340b6034d5e Mon Sep 17 00:00:00 2001 From: Carter Hsu Date: Thu, 20 Jul 2023 09:10:44 +0800 Subject: [PATCH 1/7] audio: add HDMI support on ripcurrent Bug: 264508873 Test: build pass Change-Id: I91cfd4b7e028927a5036f1772cfc6a5aa725d650 Signed-off-by: Carter Hsu --- audio/ripcurrent/config/audio_platform_configuration.xml | 1 + audio/ripcurrent/config/audio_policy_configuration.xml | 4 +++- .../audio_policy_configuration_a2dp_offload_disabled.xml | 4 +++- .../audio_policy_configuration_bluetooth_legacy_hal.xml | 4 +++- .../audio_policy_configuration_le_offload_disabled.xml | 4 +++- audio/ripcurrent/config/mixer_paths.xml | 6 ++++++ 6 files changed, 19 insertions(+), 4 deletions(-) diff --git a/audio/ripcurrent/config/audio_platform_configuration.xml b/audio/ripcurrent/config/audio_platform_configuration.xml index 1aab4e6..2435e98 100644 --- a/audio/ripcurrent/config/audio_platform_configuration.xml +++ b/audio/ripcurrent/config/audio_platform_configuration.xml @@ -295,6 +295,7 @@ + diff --git a/audio/ripcurrent/config/audio_policy_configuration.xml b/audio/ripcurrent/config/audio_policy_configuration.xml index c53bfe2..2620d7f 100644 --- a/audio/ripcurrent/config/audio_policy_configuration.xml +++ b/audio/ripcurrent/config/audio_policy_configuration.xml @@ -148,7 +148,7 @@ - + @@ -227,6 +227,8 @@ sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx,hifi_playback,compressed_offload,immersive_out"/> + - + @@ -183,6 +183,8 @@ sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx,hifi_playback,compressed_offload,immersive_out"/> + - + @@ -179,6 +179,8 @@ sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx,hifi_playback"/> + - + @@ -204,6 +204,8 @@ sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx,hifi_playback,compressed_offload,immersive_out"/> + + + + + + + From ad520e59a4d52f3ef427bfcc74457d7aeba370ea Mon Sep 17 00:00:00 2001 From: Cheng Chang Date: Mon, 26 Jun 2023 03:32:50 +0000 Subject: [PATCH 2/7] gps: separate gps build system to device Bug: 288813677 Test: compile for different devices and check binary. Test: verification test at b/288813677 Change-Id: I7591af58423d4d2826a7c5e9ba166ed0e729d932 --- device-husky.mk | 10 ++++++++++ device-ripcurrent.mk | 10 ++++++++++ device-shiba.mk | 10 ++++++++++ 3 files changed, 30 insertions(+) diff --git a/device-husky.mk b/device-husky.mk index e61db63..0664d09 100644 --- a/device-husky.mk +++ b/device-husky.mk @@ -238,6 +238,16 @@ PRODUCT_PACKAGES += \ PRODUCT_SOONG_NAMESPACES += vendor/google_devices/shusky/prebuilts # Location +# SDK build system +ifneq ($(BOARD_WITHOUT_RADIO),true) +# Release stable version to factory image +ifneq ($(filter factory_%,$(TARGET_PRODUCT)),) + include device/google/gs-common/gps/brcm/device.mk +else + include device/google/gs-common/gps/brcm/device_v2.mk +endif +endif + PRODUCT_COPY_FILES += \ device/google/shusky/location/gps.cer:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.cer diff --git a/device-ripcurrent.mk b/device-ripcurrent.mk index 87ce735..77d5c9b 100644 --- a/device-ripcurrent.mk +++ b/device-ripcurrent.mk @@ -203,6 +203,16 @@ PRODUCT_PACKAGES += \ PRODUCT_SOONG_NAMESPACES += vendor/google_devices/shusky/prebuilts # Location +# SDK build system +ifneq ($(BOARD_WITHOUT_RADIO),true) +# Release stable version to factory image +ifneq ($(filter factory_%,$(TARGET_PRODUCT)),) + include device/google/gs-common/gps/brcm/device.mk +else + include device/google/gs-common/gps/brcm/device_v2.mk +endif +endif + PRODUCT_COPY_FILES += \ device/google/shusky/location/gps.cer:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.cer diff --git a/device-shiba.mk b/device-shiba.mk index 1737971..b0e7927 100644 --- a/device-shiba.mk +++ b/device-shiba.mk @@ -229,6 +229,16 @@ PRODUCT_PACKAGES += \ PRODUCT_SOONG_NAMESPACES += vendor/google_devices/shusky/prebuilts # Location +# SDK build system +ifneq ($(BOARD_WITHOUT_RADIO),true) +# Release stable version to factory image +ifneq ($(filter factory_%,$(TARGET_PRODUCT)),) + include device/google/gs-common/gps/brcm/device.mk +else + include device/google/gs-common/gps/brcm/device_v2.mk +endif +endif + PRODUCT_COPY_FILES += \ device/google/shusky/location/gps.cer:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.cer From f95304254b1d9ef4a0b34d31c2392d2d42dbf45c Mon Sep 17 00:00:00 2001 From: Evan Laird Date: Thu, 6 Jul 2023 16:06:53 -0400 Subject: [PATCH 3/7] Manually tune rounded_corner_radius for Husky Built and tested on Husky. Tested by setting a gray wallpaper and getting the rounded corner rect to apply via begnning a gesture nav event. Test: manual Bug: 284742800 Change-Id: I5b8121311bddbda10ff19df2bfc4e1f9cedd9d23 (cherry picked from commit 275d998342fa1af455b561a249bb4757f2dfb016) --- .../overlay/frameworks/base/core/res/res/values/dimens.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/husky/overlay/frameworks/base/core/res/res/values/dimens.xml b/husky/overlay/frameworks/base/core/res/res/values/dimens.xml index 945f37a..8fa69f3 100644 --- a/husky/overlay/frameworks/base/core/res/res/values/dimens.xml +++ b/husky/overlay/frameworks/base/core/res/res/values/dimens.xml @@ -19,9 +19,9 @@ - 115px - 118px - 115px + 91px + 91px + 91px