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

Skip to content
Commit 33e73d50 authored by Hall Liu's avatar Hall Liu
Browse files

Change order of calls to AudioManager

There may sometimes be a delay when calling AudioManager#setMode. If
audio focus is abandoned prior to setting the mode to MODE_NORMAL, there
may be some churn in the audio stack that causes errant noises to be
emitted. Fix this by setting the mode prior to abandoning audio focus.

Fixes: 133197870
Test: manual
Change-Id: I71391abb07ece96bb76056ab8304c68adddbd22a
parent 728c412a
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