From 79122ae66230cac5457e09011435373967d0e1bf Mon Sep 17 00:00:00 2001 From: andyh2 Date: Sun, 19 Jan 2020 18:05:31 -0500 Subject: [PATCH] apk lib: Grant offroad access to TelephonyManager --- common/apk.py | 1 + 1 file changed, 1 insertion(+) diff --git a/common/apk.py b/common/apk.py index 064696f1..32bd2f54 100644 --- a/common/apk.py +++ b/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")