From cc8252bc0a80c89ef3cefaed7b3dd5e9c730ba41 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 old-commit-hash: 5c359f93acd42923273793e84e8e13b00bb4013a --- common/apk.py | 1 + 1 file changed, 1 insertion(+) diff --git a/common/apk.py b/common/apk.py index 064696f10e..32bd2f54c6 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")