apk lib: Grant offroad access to TelephonyManager

albatross
andyh2 2020-01-19 18:05:31 -05:00
parent 8d7bb87e7e
commit 79122ae662
1 changed files with 1 additions and 0 deletions

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")