From 2ef87ee728e7ac76c9199f0b75c96835991c0ceb Mon Sep 17 00:00:00 2001 From: Santos Cordon Date: Fri, 31 Oct 2014 12:39:44 -0700 Subject: [PATCH] Split Telecom PhoneAccount registration permissions. Bug: 18106506 Change-Id: Ic825b44c2dc42709073a3990f6a7ca8e372025e9 --- api/current.txt | 3 ++- core/res/AndroidManifest.xml | 21 ++++++++++++++++----- core/res/res/values/strings.xml | 9 +++++++-- 3 files changed, 25 insertions(+), 8 deletions(-) diff --git a/api/current.txt b/api/current.txt index 95f743b45fea4..528e3d6a40539 100644 --- a/api/current.txt +++ b/api/current.txt @@ -113,8 +113,9 @@ package android { field public static final java.lang.String RECEIVE_SMS = "android.permission.RECEIVE_SMS"; field public static final java.lang.String RECEIVE_WAP_PUSH = "android.permission.RECEIVE_WAP_PUSH"; field public static final java.lang.String RECORD_AUDIO = "android.permission.RECORD_AUDIO"; + field public static final java.lang.String REGISTER_CALL_PROVIDER = "android.permission.REGISTER_CALL_PROVIDER"; field public static final java.lang.String REGISTER_CONNECTION_MANAGER = "android.permission.REGISTER_CONNECTION_MANAGER"; - field public static final java.lang.String REGISTER_PROVIDER_OR_SUBSCRIPTION = "android.permission.REGISTER_PROVIDER_OR_SUBSCRIPTION"; + field public static final java.lang.String REGISTER_SIM_SUBSCRIPTION = "android.permission.REGISTER_SIM_SUBSCRIPTION"; field public static final java.lang.String REORDER_TASKS = "android.permission.REORDER_TASKS"; field public static final deprecated java.lang.String RESTART_PACKAGES = "android.permission.RESTART_PACKAGES"; field public static final java.lang.String SEND_RESPOND_VIA_MESSAGE = "android.permission.SEND_RESPOND_VIA_MESSAGE"; diff --git a/core/res/AndroidManifest.xml b/core/res/AndroidManifest.xml index 8e0cd52660907..6f2a06bb05b6d 100644 --- a/core/res/AndroidManifest.xml +++ b/core/res/AndroidManifest.xml @@ -1269,13 +1269,24 @@ android:description="@string/permdesc_use_sip" android:label="@string/permlab_use_sip" /> - - + + android:protectionLevel="system|signature" + android:description="@string/permdesc_register_sim_subscription" + android:label="@string/permlab_register_sim_subscription" /> + + + + Allows the app to make and receive SIP calls. - register new telecom connection + register new telecom SIM connections - Allows the app to register new telecom connections. + Allows the app to register new telecom SIM connections. + + + register new telecom connections + + Allows the app to register new telecom connections. manage telecom connections