Ugly: Give TrebleApp write accesss to wifi configuration file
As part of O/O-MR1 vendor support for hostapd, an in-app IHostapd
implementation has been done. This needs to write to
/data/misc/wifi/hostapd.conf
/data/misc/wifi is originally in P writable only by wifi/wifi.
There is no easy way to gain "wifi" group access (though can be done
through platform.xml) from an app.
At the moment, all services requiring access to /data/misc/wifi are
running user "wifi", so this change is okay for the moment.
Change-Id: Ie9f40d6b6adee3403fc3fe0acf1c7c153c1893bb
diff --git a/vndk.rc b/vndk.rc
index 12971a6..94e2467 100644
--- a/vndk.rc
+++ b/vndk.rc
@@ -10,3 +10,4 @@
on property:sys.boot_completed=1
start phh_on_boot
+ chown wifi system /data/misc/wifi