From d6474c24a835986b7dadd0803955c8b91aff0570 Mon Sep 17 00:00:00 2001 From: Evan Wu Date: Mon, 15 Apr 2019 19:59:24 +0800 Subject: [PATCH] Upgrade AOSP Dialer to Android Q, add necessary permissions. 1.Protect Device Identifiers: Starting in Android Q, apps must have the READ_PRIVILEGED_PHONE_STATE privileged permission in order to access the device's non-resettable identifiers IMEI and serial is used for the *#06# dialog. OEMs needs this to run factory tests. Perhaps it is something that should be moved to telephony, but as the current state dialer is showing it. 2.Limit pre-installed app network permission:Preinstalled apps that want to access restricted network needs to declare the CONNECTIVITY_USE_RESTRICTED_NETWORKS permission. Restricted network is used for VVM access. Bug: 132081872,132080738 Test: Compile and load build Change-Id: I246ab62a252d8a0335b8cc9ac5bb2089910781c9 --- data/etc/com.android.dialer.xml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/data/etc/com.android.dialer.xml b/data/etc/com.android.dialer.xml index ccdb21fa5040a..405279f8b1a4f 100644 --- a/data/etc/com.android.dialer.xml +++ b/data/etc/com.android.dialer.xml @@ -24,5 +24,7 @@ + +