From 503ee6ad3be976c3a436a783cb4ee65169d92c16 Mon Sep 17 00:00:00 2001 From: Shuo Qian Date: Fri, 23 Oct 2020 12:12:28 -0700 Subject: [PATCH] Try to add AppOps Keys into Proto to unblock my project My code https://googleplex-android-review.git.corp.google.com/q/topic:%223rd-incall%22+(status:open%20OR%20status:merged), which is adding a proto enum for a new AppOps, is causing presubmit failure (https://android-build.googleplex.com/builds/tests/view?invocationId=I62800006309385464&redirect=http%3A%2F%2Fsponge2%2F8a607de5-e0c3-4349-b3c4-0ee397685e18&testResultId=TR55614315792892488). I cannot check in my code because of this failure. To solve this failure, one of the next step is: adding AppOps 100-102 to that proto OP_RECORD_AUDIO_HOTWORD, OP_PHONE_CALL_MICROPHONE, OP_PHONE_CALL_CAMERA Test: Treehugger Bug: 169595473 Change-Id: Ibd0f85575c9bc3d7aca9d5b011f1e5f0cbf960c1 --- core/proto/android/app/enums.proto | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/proto/android/app/enums.proto b/core/proto/android/app/enums.proto index bd5cb62f7fdec..37a9f50dec898 100644 --- a/core/proto/android/app/enums.proto +++ b/core/proto/android/app/enums.proto @@ -207,4 +207,7 @@ enum AppOpEnum { APP_OP_AUTO_REVOKE_PERMISSIONS_IF_UNUSED = 97; APP_OP_AUTO_REVOKE_MANAGED_BY_INSTALLER = 98; APP_OP_NO_ISOLATED_STORAGE = 99; + APP_OP_PHONE_CALL_MICROPHONE = 100; + APP_OP_PHONE_CALL_CAMERA = 101; + APP_OP_RECORD_AUDIO_HOTWORD = 102; }