commit | 33e73d504f0c7e47e34f33cb7a79ffb58b51e9b8 | [log] [tgz] |
---|---|---|
author | Hall Liu <hallliu@google.com> | Mon Sep 09 17:57:13 2019 -0700 |
committer | Hall Liu <hallliu@google.com> | Mon Sep 09 18:16:35 2019 -0700 |
tree | 3f652543f575294a693f36a23efd3fd2b81caf64 | |
parent | 728c412a52719f155e941b41b499e9d9efe8886a [diff] |
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