OSDN Git Service

Only apply foreground flag for audio state connected
authorZach Johnson <zachoverflow@google.com>
Sun, 18 Oct 2015 06:18:23 +0000 (23:18 -0700)
committerZach Johnson <zachoverflow@google.com>
Sun, 18 Oct 2015 06:18:23 +0000 (23:18 -0700)
commit5040e76e2b2742a210e5e1ef29ae1b1779f12ee3
tree751095fa9a0f54f80b2217a219292e4ae766a591
parent5d0f29737bfa7d9e2891b1e99c87e86fce434599
Only apply foreground flag for audio state connected

The other states aren't really that important, and
this reduces the chance of ANR.

Change-Id: Ie019b81a9fbfb9238cf8b6cce1308d0d7358cbf8
src/com/android/bluetooth/hfpclient/HeadsetClientStateMachine.java