From ba673b150760d63aeb201b63663dd3e86e3e770a Mon Sep 17 00:00:00 2001 From: Hsiu-Chang Chen Date: Mon, 13 Feb 2023 17:19:52 +0800 Subject: [PATCH] wlan: add cnss-daemon and related libraries cnss-daemon is necessary for CHRE function Bug: 264524963 Test: Regression Test Change-Id: I7ec2ea8d0e3bafce7f570ce7d32051d7f677442e --- conf/init.lynx.rc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/conf/init.lynx.rc b/conf/init.lynx.rc index dbc4f13..ad61381 100644 --- a/conf/init.lynx.rc +++ b/conf/init.lynx.rc @@ -75,6 +75,12 @@ service vendor.loc_launcher /system/vendor/bin/loc_launcher group wifi disabled +# Start cnss-daemon for CHRE +service vendor.cnss-daemon /vendor/bin/cnss-daemon -n -l + class late_start + user system + group system inet wifi + # 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