From ed23b9b12cebfc700a3fd0f61a81e95152ce66bd Mon Sep 17 00:00:00 2001 From: Dianne Hackborn Date: Fri, 27 Apr 2018 16:56:35 -0700 Subject: [PATCH] Fix issue #78230210: Strobe: Need separate runtime permission group for READ_CALL_LOG and WRITE_CALL_LOG Bug: 78230210 Test: manual Change-Id: Ie5a0ab3dffd40dc44f7aa5deb81b42fbc2dbd406 --- api/current.txt | 1 + core/res/AndroidManifest.xml | 131 +++++++++++++++++--------------- core/res/res/values/strings.xml | 8 ++ 3 files changed, 80 insertions(+), 60 deletions(-) diff --git a/api/current.txt b/api/current.txt index 26e42982de916..8703bf41438b1 100644 --- a/api/current.txt +++ b/api/current.txt @@ -162,6 +162,7 @@ package android { public static final class Manifest.permission_group { ctor public Manifest.permission_group(); field public static final java.lang.String CALENDAR = "android.permission-group.CALENDAR"; + field public static final java.lang.String CALL_LOG = "android.permission-group.CALL_LOG"; field public static final java.lang.String CAMERA = "android.permission-group.CAMERA"; field public static final java.lang.String CONTACTS = "android.permission-group.CONTACTS"; field public static final java.lang.String LOCATION = "android.permission-group.LOCATION"; diff --git a/core/res/AndroidManifest.xml b/core/res/AndroidManifest.xml index 8235507e45281..cd8a1605e58d8 100644 --- a/core/res/AndroidManifest.xml +++ b/core/res/AndroidManifest.xml @@ -839,6 +839,77 @@ android:description="@string/permdesc_accessCoarseLocation" android:protectionLevel="dangerous|instant" /> + + + + + + + + + + + + + + + + + + + + @@ -891,54 +962,6 @@ android:description="@string/permdesc_callPhone" android:protectionLevel="dangerous" /> - - - - - - - - - @@ -957,18 +980,6 @@ android:label="@string/permlab_use_sip" android:protectionLevel="dangerous"/> - - - - diff --git a/core/res/res/values/strings.xml b/core/res/res/values/strings.xml index b92052b9ebde6..bf7ca524c93e9 100644 --- a/core/res/res/values/strings.xml +++ b/core/res/res/values/strings.xml @@ -723,6 +723,14 @@ Allow <b>%1$s</b> to take pictures and record video? + + Call logs + + read and write phone call log + + Allow + <b>%1$s</b> to access your phone call logs? + Phone