From 7f6ad012b55e44a09dcf3646d15ef66b2505965b Mon Sep 17 00:00:00 2001 From: Vincent Wang Date: Thu, 18 Aug 2022 07:31:03 +0000 Subject: [PATCH 1/2] Fix L10 has success haptics of face unlock for non-bypass. C10/P10 move the haptic from system_ser to sysui. Align this behavior on L10 BUG: 242661137 Test: Check the face unlock haptic of L10 is the same with C10/P10 Change-Id: If1501ede19bff1a821c9d12d5c305085b618b4c3 --- .../base/core/res/res/values/bools.xml | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 lynx/overlay/frameworks/base/core/res/res/values/bools.xml diff --git a/lynx/overlay/frameworks/base/core/res/res/values/bools.xml b/lynx/overlay/frameworks/base/core/res/res/values/bools.xml new file mode 100644 index 0000000..9e75363 --- /dev/null +++ b/lynx/overlay/frameworks/base/core/res/res/values/bools.xml @@ -0,0 +1,20 @@ + + + + false + From a011c11f37a2bff3b541cabdbc32571b701c2ac9 Mon Sep 17 00:00:00 2001 From: Hsiu-Chang Chen Date: Tue, 19 Jul 2022 12:54:52 +0800 Subject: [PATCH 2/2] wifi: Move driver initialization to an eariler time sys.boot_completed may take more time to be set in the first boot after factory reset. It will cause wifi framework try to enable wifi before driver ready. Move the timing of driver initialization forward to all modules ready. Bug: 242681939 Bug: 240889310 Test: wifi enables after booting Change-Id: I97d742ffe9723d2fc09f370f3d98dfdc4413af61 --- conf/init.lynx.rc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/init.lynx.rc b/conf/init.lynx.rc index 10140a5..c55b27d 100644 --- a/conf/init.lynx.rc +++ b/conf/init.lynx.rc @@ -52,7 +52,7 @@ on post-fs-data chmod 0660 /sys/class/st33spi/st33spi/st33spi_state # Wifi -on property:sys.boot_completed=1 +on property:vendor.all.modules.ready=1 write /sys/bus/platform/drivers/cnss2/qcom,cnss-qca6490/fs_ready 1 # Create directories for wifihal services mkdir /dev/socket/wifihal 0770 wifi wifi