Add OPSTR_PHONE_CALL_* op strings to System API
The PermissionController needs these ops to display phone calls in the Privacy Dashboard Test: build Bug: 176902658 Change-Id: Ib2a862520a73f3e65eeefd0fcba3843ef9112354
This commit is contained in:
@@ -487,6 +487,8 @@ package android.app {
|
||||
field public static final String OPSTR_MANAGE_ONGOING_CALLS = "android:manage_ongoing_calls";
|
||||
field public static final String OPSTR_MUTE_MICROPHONE = "android:mute_microphone";
|
||||
field public static final String OPSTR_NEIGHBORING_CELLS = "android:neighboring_cells";
|
||||
field public static final String OPSTR_PHONE_CALL_CAMERA = "android:phone_call_camera";
|
||||
field public static final String OPSTR_PHONE_CALL_MICROPHONE = "android:phone_call_microphone";
|
||||
field public static final String OPSTR_PLAY_AUDIO = "android:play_audio";
|
||||
field public static final String OPSTR_POST_NOTIFICATION = "android:post_notification";
|
||||
field public static final String OPSTR_PROJECT_MEDIA = "android:project_media";
|
||||
|
||||
@@ -249,8 +249,6 @@ package android.app {
|
||||
field public static final String OPSTR_ACTIVITY_RECOGNITION = "android:activity_recognition";
|
||||
field public static final String OPSTR_ACTIVITY_RECOGNITION_SOURCE = "android:activity_recognition_source";
|
||||
field public static final String OPSTR_MANAGE_ONGOING_CALLS = "android:manage_ongoing_calls";
|
||||
field public static final String OPSTR_PHONE_CALL_CAMERA = "android:phone_call_camera";
|
||||
field public static final String OPSTR_PHONE_CALL_MICROPHONE = "android:phone_call_microphone";
|
||||
field public static final String OPSTR_USE_ICC_AUTH_WITH_DEVICE_IDENTIFIER = "android:use_icc_auth_with_device_identifier";
|
||||
field public static final int OP_COARSE_LOCATION = 0; // 0x0
|
||||
field public static final int OP_RECORD_AUDIO = 27; // 0x1b
|
||||
|
||||
@@ -1588,14 +1588,14 @@ public class AppOpsManager {
|
||||
*
|
||||
* @hide
|
||||
*/
|
||||
@TestApi
|
||||
@SystemApi
|
||||
public static final String OPSTR_PHONE_CALL_MICROPHONE = "android:phone_call_microphone";
|
||||
/**
|
||||
* Phone call is using camera
|
||||
*
|
||||
* @hide
|
||||
*/
|
||||
@TestApi
|
||||
@SystemApi
|
||||
public static final String OPSTR_PHONE_CALL_CAMERA = "android:phone_call_camera";
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user