Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 7370c844 authored by Atneya Nair's avatar Atneya Nair
Browse files

Listen for foreground AppOps changes

Change AudioPolicyService to listen to AppOps changes including
foreground mode changes, so we appropriately silence backgrounded apps
with opened AudioRecords.

Bug: 247768581
Fixes: 268724205
Test: AudioRecordTest
Test: OboeTester (non mmap) record silenced when backgrounded - 6s
Change-Id: I3bdcb76876c479d432201e4bb03cdbf35d877909
parent b1a986cb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment