apk lib: Grant offroad access to TelephonyManager

pull/1000/head
andyh2 5 years ago committed by Willem Melching
parent f60fe79999
commit 5c359f93ac
  1. 1
      common/apk.py

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

Loading…
Cancel
Save