summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZach Johnson <zachoverflow@google.com>2015-10-26 09:47:48 -0700
committerZach Johnson <zachoverflow@google.com>2015-10-26 09:50:18 -0700
commit65842bfe88b3d91060cd05446024f14061524dcd (patch)
tree47eead545cc5b8580c4447b89d14e7b75a14fb76
parent371e2047c485f8f75c2b63a38b36a65b72c2fa42 (diff)
downloadandroid_packages_apps_Bluetooth-65842bfe88b3d91060cd05446024f14061524dcd.tar.gz
android_packages_apps_Bluetooth-65842bfe88b3d91060cd05446024f14061524dcd.tar.bz2
android_packages_apps_Bluetooth-65842bfe88b3d91060cd05446024f14061524dcd.zip
Remove receiver status foreground flag
Turns out this actually causes more problems than it attempts to solve. b/25116554 b/25256719 Change-Id: Ia30ab5bf0f6e794376eae85b2616bcdb0049ef76
-rw-r--r--src/com/android/bluetooth/hfpclient/HeadsetClientStateMachine.java1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/com/android/bluetooth/hfpclient/HeadsetClientStateMachine.java b/src/com/android/bluetooth/hfpclient/HeadsetClientStateMachine.java
index bc1833901..f9cadabe9 100644
--- a/src/com/android/bluetooth/hfpclient/HeadsetClientStateMachine.java
+++ b/src/com/android/bluetooth/hfpclient/HeadsetClientStateMachine.java
@@ -2246,7 +2246,6 @@ final class HeadsetClientStateMachine extends StateMachine {
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);
}