commit | 7e70c76b6c2335b352795c63902affec855092ee | [log] [tgz] |
---|---|---|
author | Atneya Nair <atneya@google.com> | Thu Jun 29 23:22:57 2023 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Thu Jun 29 23:22:57 2023 +0000 |
tree | adb8b8af0735ee65cfc08249416c96e1ac78bf1d | |
parent | 145b5d6d32c60de8c05d10568cc681f621f4fdd9 [diff] | |
parent | 8b11bc9a386bb01bd168607695d41f5197fdbd61 [diff] |
Revert "Listen for foreground AppOps changes" am: 8b11bc9a38 Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/av/+/23817399 Change-Id: Ia34b8703d4f1b794629c363dae8dd8240156ea3e Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
diff --git a/services/audiopolicy/service/AudioPolicyService.cpp b/services/audiopolicy/service/AudioPolicyService.cpp index 9367949..df0c59f 100644 --- a/services/audiopolicy/service/AudioPolicyService.cpp +++ b/services/audiopolicy/service/AudioPolicyService.cpp
@@ -1917,7 +1917,6 @@ // since it controls the mic permission for legacy apps. mAppOpsManager.startWatchingMode(mAppOp, VALUE_OR_FATAL(aidl2legacy_string_view_String16( mAttributionSource.packageName.value_or(""))), - AppOpsManager::WATCH_FOREGROUND_CHANGES, mOpCallback); }