diff options
author | Jean-Michel Trivi <jmtrivi@google.com> | 2011-08-14 15:16:21 -0700 |
---|---|---|
committer | Jean-Michel Trivi <jmtrivi@google.com> | 2011-08-14 15:16:21 -0700 |
commit | baf674eedd5ecff9da0cf8cabe9868f7699b1695 (patch) | |
tree | c3c334581c5d58e97551774f96caac2f045b0eda /sax | |
parent | 5a586199cea242ea281744e8e35969ac342cbe80 (diff) | |
download | frameworks_base-baf674eedd5ecff9da0cf8cabe9868f7699b1695.zip frameworks_base-baf674eedd5ecff9da0cf8cabe9868f7699b1695.tar.gz frameworks_base-baf674eedd5ecff9da0cf8cabe9868f7699b1695.tar.bz2 |
Fail request for audio focus when linkToDeath fails
When requesting audio focus and linkToDeath() threw a
RemoteException, AudioService was only logging a warning, and
was still changing the focus, with a non-null death handler.
The change first check that linkToDeath() didn't fail, and only
then proceeds to change the focus (dispatch focus change
notification, updates the focus stack, and updates the remote
controls).
Change-Id: I0b96dd3c6e924d93f419880349d49f8b360b110b
Diffstat (limited to 'sax')
0 files changed, 0 insertions, 0 deletions