From cef5a5404a7c61667883cc1fdff842355bc511e9 Mon Sep 17 00:00:00 2001 From: Evan Charlton Date: Fri, 24 Oct 2014 15:09:00 -0700 Subject: [PATCH] Move telecom permission to the public API Make REGISTER_PROVIDER_OR_SUBSCRIPTION and REGISTER_CONNECTION_MANAGER part of the public API so that they can be used by third-party apps. Bug: 18114695 Change-Id: I1b8578cbc82e95ea78b4a2166f4a23650a0c375f --- api/current.txt | 4 +++- core/res/AndroidManifest.xml | 12 ++++++++++++ core/res/res/values/strings.xml | 10 ++++++++++ 3 files changed, 25 insertions(+), 1 deletion(-) diff --git a/api/current.txt b/api/current.txt index bfe8d7a65e376..5df0a0ec19f09 100644 --- a/api/current.txt +++ b/api/current.txt @@ -113,6 +113,8 @@ 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_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 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"; @@ -4403,9 +4405,9 @@ package android.app { method public android.content.Intent createConfirmDeviceCredentialIntent(java.lang.CharSequence, java.lang.CharSequence); method public deprecated void exitKeyguardSecurely(android.app.KeyguardManager.OnKeyguardExitResult); method public boolean inKeyguardRestrictedInputMode(); + method public boolean isKeyguardInTrustedState(); method public boolean isKeyguardLocked(); method public boolean isKeyguardSecure(); - method public boolean isKeyguardInTrustedState(); method public deprecated android.app.KeyguardManager.KeyguardLock newKeyguardLock(java.lang.String); } diff --git a/core/res/AndroidManifest.xml b/core/res/AndroidManifest.xml index 15b56c3ae2099..8e0cd52660907 100644 --- a/core/res/AndroidManifest.xml +++ b/core/res/AndroidManifest.xml @@ -1269,6 +1269,18 @@ android:description="@string/permdesc_use_sip" android:label="@string/permlab_use_sip" /> + + + + + Allows the app to make and receive SIP calls. + + register new telecom connection + + Allows the app to register new telecom connections. + + + manage telecom connections + + Allows the app to manage telecom connections. + interact with in-call screen