From c36e14594d7060fba501e9f3b70a026f728f3a61 Mon Sep 17 00:00:00 2001 From: Cheng Chang Date: Thu, 23 May 2024 07:37:00 +0000 Subject: [PATCH 1/4] gps: Enable customgnss function Bug: 342284863 Test: b/342284863 for boot-health check. Test: b/342284863 for function verification. Change-Id: I561fe61adf011c9cd1359a51a13627c5d5ff33df --- location/gps.cfg | 2 +- location/gps_user.cfg | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/location/gps.cfg b/location/gps.cfg index 7908fbe..66d470c 100644 --- a/location/gps.cfg +++ b/location/gps.cfg @@ -10,7 +10,7 @@ debug_dir=/data/vendor/gps/logs ############################################ GlueLayer_IsGedKeyExist=1 GlueLayer_EnableGnssCfgInterface=1 - +GlueLayer_IsUseCustomGnssLib=1 uni_log_max_file_count=5 uni_log_max_size_mb=20 diff --git a/location/gps_user.cfg b/location/gps_user.cfg index 9062b4a..dda4495 100644 --- a/location/gps_user.cfg +++ b/location/gps_user.cfg @@ -4,6 +4,7 @@ debug_enable=0 mem_dump_to_node=0 GlueLayer_IsGedKeyExist=1 GlueLayer_EnableGnssCfgInterface=1 +GlueLayer_IsUseCustomGnssLib=1 ism_stream_enable=1 caplay_port_tcp_port=@GNSS_ISM_CAPTURE_PLAYBACK gnss_device_type=K041 From 7f105f6b59c3def0ba208f365bfc3ca2ad6c3aa5 Mon Sep 17 00:00:00 2001 From: Blackbear Chou Date: Tue, 4 Jun 2024 13:37:17 +0800 Subject: [PATCH 2/4] tg4: support touch sensitivity mode switching Write the sysfs node to set touch sensitivity mode when the property changes. Bug: 315239048 Test: toggle the touch sensitivity button in Settings and check log. Change-Id: I02d1bc2051264a136d1487d63e295259c31f2980 Signed-off-by: Blackbear Chou --- conf/init.tegu.rc | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/conf/init.tegu.rc b/conf/init.tegu.rc index df2cf28..91b7abf 100644 --- a/conf/init.tegu.rc +++ b/conf/init.tegu.rc @@ -47,3 +47,11 @@ on property:sys.boot_completed=1 chown system input /dev/touch_offload chmod 660 /dev/touch_offload start twoshay + + +# Toggle high_sensitivity according to touch_sensitivity_mode +on property:persist.vendor.touch_sensitivity_mode=0 && property:sys.boot_completed=1 + write /sys/devices/virtual/goog_touch_interface/gti.0/screen_protector_mode_enabled 0 + +on property:persist.vendor.touch_sensitivity_mode=1 && property:sys.boot_completed=1 + write /sys/devices/virtual/goog_touch_interface/gti.0/screen_protector_mode_enabled 1 From 9af99adb0b307d3b85e3d0402a1e43e0aeae3962 Mon Sep 17 00:00:00 2001 From: Frank Yu Date: Fri, 31 May 2024 07:13:12 +0000 Subject: [PATCH 3/4] Enable radio ext aidl service for dynamic ssc. Bug: 343576955 Test: Manual. RadioExt aidl service start successfully. Change-Id: Ia2b7ff1c14fae8b7aedf40a594b346359072dc6a --- device-tegu.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/device-tegu.mk b/device-tegu.mk index 6be0918..fffc806 100644 --- a/device-tegu.mk +++ b/device-tegu.mk @@ -59,6 +59,7 @@ include hardware/google/pixel/vibrator/cs40l26/device.mk include device/google/gs-common/bcmbt/bluetooth.mk include device/google/gs-common/touch/gti/predump_gti.mk include device/google/gs-common/touch/syna/predump_syna20.mk +include device/google/gs-common/modem/radio_ext/radio_ext.mk # go/lyric-soong-variables $(call soong_config_set,lyric,camera_hardware,tegu) From 99bfceca0a33b2355009ae611969b1070030f9fb Mon Sep 17 00:00:00 2001 From: Kah Xuan Lim Date: Tue, 4 Jun 2024 06:59:55 +0000 Subject: [PATCH 4/4] Revert "Disable Dex preoptimization" This reverts commit 6c520942912886f1ca62cb3dcd550b16f3d5896e. Reason for revert: Disabling dex preoptimization doesn't solve the root cause of the bug and will cause some performance issue. Flag: build.WITH_DEXPREOPT Bug: 343341492 Bug: 343367700 Test: Build with target non-aosp targets in presubmit and aosp targets following the reproduce steps in b/343341492 Change-Id: I2309453918333b1bce7e3194c77c9cd4762c1b69 --- tegu/BoardConfig.mk | 2 -- 1 file changed, 2 deletions(-) diff --git a/tegu/BoardConfig.mk b/tegu/BoardConfig.mk index 17d0f64..17255a4 100644 --- a/tegu/BoardConfig.mk +++ b/tegu/BoardConfig.mk @@ -26,5 +26,3 @@ include device/google/zumapro/BoardConfig-common.mk -include vendor/google_devices/zumapro/prebuilts/BoardConfigVendor.mk include device/google/tegu-sepolicy/tegu-sepolicy.mk include device/google/tegu/wifi/BoardConfig-wifi.mk - -WITH_DEXPREOPT := false