Update foreground calls with child-parent call changes.
Bug: 17699262
Change-Id: I4de8bd876b142e2762a369a36ea2e7dcc7b84e65
diff --git a/src/com/android/server/telecom/BluetoothPhoneService.java b/src/com/android/server/telecom/BluetoothPhoneService.java
index 443e7c3..a2688a1 100644
--- a/src/com/android/server/telecom/BluetoothPhoneService.java
+++ b/src/com/android/server/telecom/BluetoothPhoneService.java
@@ -428,7 +428,8 @@
Call ringingCall = callsManager.getRingingCall();
Call heldCall = callsManager.getHeldCall();
- Log.v(TAG, "Active: %s\nRinging: %s\nHeld: %s", activeCall, ringingCall, heldCall);
+ // TODO: Keeping as Log.i for now. Move to Log.d after L release if BT proves stable.
+ Log.i(TAG, "Active: %s\nRinging: %s\nHeld: %s", activeCall, ringingCall, heldCall);
if (chld == CHLD_TYPE_RELEASEHELD) {
if (ringingCall != null) {
@@ -466,7 +467,7 @@
}
} else if (chld == CHLD_TYPE_ADDHELDTOCONF) {
if (activeCall != null) {
- if (activeCall != null && activeCall.can(PhoneCapabilities.MERGE_CONFERENCE)) {
+ if (activeCall.can(PhoneCapabilities.MERGE_CONFERENCE)) {
activeCall.mergeConference();
return true;
} else {