summaryrefslogtreecommitdiff
path: root/InCallUI
diff options
context:
space:
mode:
authorSantos Cordon <santoscordon@google.com>2014-08-21 23:54:44 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-08-21 23:54:44 +0000
commitd11b08300e4d3bec2fb9bd8a854ba0c6053a3645 (patch)
tree63266b7648372e3d504f8dd9b86f1c391230f24b /InCallUI
parent021563ab023b9f85d1f448dac3af5777a391fe46 (diff)
parent9593853ba1d72249b2405bfca1fa410dcde3f290 (diff)
am e8af6de0: Merge "Fix parentID for conference call support." into lmp-dev
* commit 'e8af6de0d48d06dfc5881cf0f7452767883cd5dc': Fix parentID for conference call support.
Diffstat (limited to 'InCallUI')
-rw-r--r--InCallUI/src/com/android/incallui/Call.java3
-rw-r--r--InCallUI/src/com/android/incallui/CallList.java2
2 files changed, 3 insertions, 2 deletions
diff --git a/InCallUI/src/com/android/incallui/Call.java b/InCallUI/src/com/android/incallui/Call.java
index 075ec981d..6bd3d0b9d 100644
--- a/InCallUI/src/com/android/incallui/Call.java
+++ b/InCallUI/src/com/android/incallui/Call.java
@@ -201,6 +201,7 @@ public final class Call {
}
private void updateFromTelecommCall() {
+ Log.d(this, "updateFromTelecommCall: " + mTelecommCall);
setState(translateState(mTelecommCall.getState()));
setDisconnectCause(mTelecommCall.getDetails().getDisconnectCauseCode());
@@ -380,7 +381,7 @@ public final class Call {
public String toString() {
return String.format(Locale.US, "[%s, %s, %s, children:%s, parent:%s, videoState:%d]",
mId,
- State.toString(mState),
+ State.toString(getState()),
PhoneCapabilities.toString(mTelecommCall.getDetails().getCallCapabilities()),
mChildCallIds,
getParentId(),
diff --git a/InCallUI/src/com/android/incallui/CallList.java b/InCallUI/src/com/android/incallui/CallList.java
index a3fa58dfd..0908b56ad 100644
--- a/InCallUI/src/com/android/incallui/CallList.java
+++ b/InCallUI/src/com/android/incallui/CallList.java
@@ -136,8 +136,8 @@ public class CallList implements InCallPhoneListener {
* Called when a single call has changed.
*/
public void onUpdate(Call call) {
- Log.d(this, "onUpdate - ", call);
onUpdateCall(call);
+ Log.d(this, "onUpdate - ", call);
notifyGenericListeners();
}