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

Skip to content
Commit 68cc2e2a authored by Jean-Michel Trivi's avatar Jean-Michel Trivi
Browse files

AudioPolicy: add API to make a focus owner lose focus

Add a new AudioPolicy method that allows a registered policy
to force a focus owner lose focus. If it took focus from another
focus stack entry, that one will now regain focus.

Flag: android.multiuser.add_ui_for_sounds_from_background_users
Bug: 355596432
Bug: 355576058
Test: atest com.android.server.audio.MediaFocusControlTest#testSendFocusLossAndUpdate
Change-Id: Ib739f95c0f2792ec9ead59862f52cd4e11d33594
parent 24484f8e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment