From dfaab2520c737fd465a7e3c6b536e563ce570e13 Mon Sep 17 00:00:00 2001 From: Hsiu-Chang Chen Date: Thu, 3 Mar 2022 10:20:19 +0800 Subject: [PATCH] wifi: Add LOWI tools LOWI-9.0.0.99 Add service loc_launcher which is used to launcher lowi-server. Create directories for LOWI tools. Bug: 210768643 Test: loc_launcher and lowi-server start automatically Change-Id: I29bd7580497b150e343d23d5476433de8d4f223e --- conf/init.lynx.rc | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/conf/init.lynx.rc b/conf/init.lynx.rc index 9137801..ffaec61 100644 --- a/conf/init.lynx.rc +++ b/conf/init.lynx.rc @@ -41,3 +41,19 @@ on post-fs-data # Wifi on property:sys.boot_completed=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 + chmod 2777 /dev/socket/wifihal + # Create directories for Location services + mkdir /dev/socket/location 0770 wifi wifi + chmod 2777 /dev/socket/location + mkdir /dev/socket/location/mq 0770 wifi wifi + chmod 2777 /dev/socket/location/mq + start vendor.loc_launcher + +# Start loc_launcher to launch lowi-server +service vendor.loc_launcher /system/vendor/bin/loc_launcher + class late_start + user wifi + group wifi + disabled