From e5bf86e7cd012ee2ae9e3bed8321a184c1c9cc7b Mon Sep 17 00:00:00 2001 From: Jasmine Cha Date: Tue, 12 Dec 2023 16:27:28 +0800 Subject: [PATCH 1/2] audio: add soong config for ims media to read Bug: 291772585 Test: manual test on hidl/aidl Change-Id: I1bb1bc5963fe28132cb72fe29167b3fa4d384cb7 Signed-off-by: Jasmine Cha --- audio/aidl.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/audio/aidl.mk b/audio/aidl.mk index bd11249..02a9649 100644 --- a/audio/aidl.mk +++ b/audio/aidl.mk @@ -24,3 +24,5 @@ DEVICE_PRODUCT_COMPATIBILITY_MATRIX_FILE += device/google/gs-common/audio/aidl/d PRODUCT_PROPERTY_OVERRIDES += \ vendor.audio_hal.aidl.enable=true + +$(call soong_config_set,pixel_audio_hal_type,aidl_build,true) From 643719c2ac7733bdf4404a65f82841d02fbe3c8d Mon Sep 17 00:00:00 2001 From: Yen-Chao Chen Date: Tue, 26 Dec 2023 14:31:49 +0800 Subject: [PATCH 2/2] touch/init: change file owner after sys.boot_completed=1 It's possible that the gti sysfs node is not ready when vendor.device.modules.ready is set so change the gti file owner at later stage. Bug: 285327052 Bug: 285247095 Bug: 285323846 Test: trigger bugreport and the dump succeed. Change-Id: If1921aeb351603b52164c66bc9c7b3651d171287 Signed-off-by: Yen-Chao Chen --- touch/gti/init.touch.gti0.rc | 2 +- touch/gti/init.touch.gti1.rc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/touch/gti/init.touch.gti0.rc b/touch/gti/init.touch.gti0.rc index 70c6ced..31856ea 100644 --- a/touch/gti/init.touch.gti0.rc +++ b/touch/gti/init.touch.gti0.rc @@ -1,4 +1,4 @@ -on property:vendor.device.modules.ready=1 +on property:sys.boot_completed=1 # Sysfs chown system system /sys/devices/virtual/goog_touch_interface/gti.0/force_active chown system system /sys/devices/virtual/goog_touch_interface/gti.0/fw_ver diff --git a/touch/gti/init.touch.gti1.rc b/touch/gti/init.touch.gti1.rc index 15de6a1..a4de328 100644 --- a/touch/gti/init.touch.gti1.rc +++ b/touch/gti/init.touch.gti1.rc @@ -1,4 +1,4 @@ -on property:vendor.device.modules.ready=1 +on property:sys.boot_completed=1 # Sysfs chown system system /sys/devices/virtual/goog_touch_interface/gti.1/force_active chown system system /sys/devices/virtual/goog_touch_interface/gti.1/fw_ver