diff options
| author | 2019-04-01 07:32:39 -0700 | |
|---|---|---|
| committer | 2019-04-01 07:32:39 -0700 | |
| commit | 41ab607d3ddad9c23217eb3ea3d548112200039a (patch) | |
| tree | 3721207768d89e52e94c9235b7ef2e55ba52b485 | |
| parent | 23f6cd281a2d0fa5fa90dadfd9042beb5d0c68d1 (diff) | |
| parent | 70e943ba80301e6adc03f747b28a0a72fb923395 (diff) | |
Merge "Mark PROCESS_OUTGOING_CALLS permission as deprecated."
am: 70e943ba80
Change-Id: I20fed9904a6b8d85c0e7a33ae8db8b3f4ae7987e
| -rwxr-xr-x | api/current.txt | 2 | ||||
| -rw-r--r-- | core/res/AndroidManifest.xml | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/api/current.txt b/api/current.txt index 8ed5e48c6019..06fcebf22123 100755 --- a/api/current.txt +++ b/api/current.txt @@ -100,7 +100,7 @@ package android { field public static final String NFC_TRANSACTION_EVENT = "android.permission.NFC_TRANSACTION_EVENT"; field public static final String PACKAGE_USAGE_STATS = "android.permission.PACKAGE_USAGE_STATS"; field @Deprecated public static final String PERSISTENT_ACTIVITY = "android.permission.PERSISTENT_ACTIVITY"; - field public static final String PROCESS_OUTGOING_CALLS = "android.permission.PROCESS_OUTGOING_CALLS"; + field @Deprecated public static final String PROCESS_OUTGOING_CALLS = "android.permission.PROCESS_OUTGOING_CALLS"; field public static final String READ_CALENDAR = "android.permission.READ_CALENDAR"; field public static final String READ_CALL_LOG = "android.permission.READ_CALL_LOG"; field public static final String READ_CONTACTS = "android.permission.READ_CONTACTS"; diff --git a/core/res/AndroidManifest.xml b/core/res/AndroidManifest.xml index 9aedb7618142..f562dca57e15 100644 --- a/core/res/AndroidManifest.xml +++ b/core/res/AndroidManifest.xml @@ -915,6 +915,9 @@ call with the option to redirect the call to a different number or abort the call altogether. <p>Protection level: dangerous + + @deprecated Applications should use {@link android.telecom.CallRedirectionService} instead + of the {@link android.content.Intent#ACTION_NEW_OUTGOING_CALL} broadcast. --> <permission android:name="android.permission.PROCESS_OUTGOING_CALLS" android:permissionGroup="android.permission-group.CALL_LOG" |