From 97c4452e48d7dddbf95ac53affa83abc2e39b375 Mon Sep 17 00:00:00 2001 From: Pierre-Hugues Husson Date: Thu, 27 Dec 2018 10:46:21 +0100 Subject: [PATCH] Also chown /data/misc/wifi/hostapd.conf It has been seen on some devices (Huawei Y6) that the file is created by something else than us to wifi:wifi, which means treble_app can't change that file. --- vndk.rc | 1 + 1 file changed, 1 insertion(+) diff --git a/vndk.rc b/vndk.rc index 94e2467..a3cbce2 100644 --- a/vndk.rc +++ b/vndk.rc @@ -11,3 +11,4 @@ service phh_on_boot /system/bin/phh-on-boot.sh on property:sys.boot_completed=1 start phh_on_boot chown wifi system /data/misc/wifi + chown system wifi /data/misc/wifi/hostapd.conf