commit | 65842bfe88b3d91060cd05446024f14061524dcd | [log] [tgz] |
---|---|---|
author | Zach Johnson <zachoverflow@google.com> | Mon Oct 26 09:47:48 2015 -0700 |
committer | Zach Johnson <zachoverflow@google.com> | Mon Oct 26 09:50:18 2015 -0700 |
tree | 47eead545cc5b8580c4447b89d14e7b75a14fb76 | |
parent | 371e2047c485f8f75c2b63a38b36a65b72c2fa42 [diff] |
Remove receiver status foreground flag Turns out this actually causes more problems than it attempts to solve. b/25116554 b/25256719 Change-Id: Ia30ab5bf0f6e794376eae85b2616bcdb0049ef76
diff --git a/src/com/android/bluetooth/hfpclient/HeadsetClientStateMachine.java b/src/com/android/bluetooth/hfpclient/HeadsetClientStateMachine.java index bc18339..f9cadab 100644 --- a/src/com/android/bluetooth/hfpclient/HeadsetClientStateMachine.java +++ b/src/com/android/bluetooth/hfpclient/HeadsetClientStateMachine.java
@@ -2246,7 +2246,6 @@ intent.putExtra(BluetoothProfile.EXTRA_STATE, newState); if (newState == BluetoothHeadsetClient.STATE_AUDIO_CONNECTED) { - intent.addFlags(Intent.FLAG_RECEIVER_FOREGROUND); intent.putExtra(BluetoothHeadsetClient.EXTRA_AUDIO_WBS, mAudioWbs); }