apk lib: Grant offroad access to TelephonyManager

old-commit-hash: 5c359f93ac
This commit is contained in:
andyh2
2020-01-19 18:05:31 -05:00
committed by Willem Melching
parent e6244faca0
commit cc8252bc0a
+1
View File
@@ -32,6 +32,7 @@ def start_frame():
def set_package_permissions():
pm_grant("ai.comma.plus.offroad", "android.permission.ACCESS_FINE_LOCATION")
pm_grant("ai.comma.plus.offroad", "android.permission.READ_PHONE_STATE")
appops_set("ai.comma.plus.offroad", "SU", "allow")
appops_set("ai.comma.plus.offroad", "WIFI_SCAN", "allow")
appops_set("ai.comma.plus.offroad", "READ_EXTERNAL_STORAGE", "allow")