diff options
| author | 2016-01-29 18:41:14 -0800 | |
|---|---|---|
| committer | 2016-01-29 18:41:14 -0800 | |
| commit | f2301bcbbfa68c851f02bb23fa148d5e95ac3c70 (patch) | |
| tree | 4609817afa6eeabc5eba52f6707c9f6568e2a332 | |
| parent | aad7f349ee0b464a5714c1f03b4cfba148710c58 (diff) | |
Remove check for missing parent calls
Telecom now guarantees that when sending a conference call to an in-call
service, all children will be sent before any parents. Thus, it is
acceptable for children to temporarily have invalid references to
parent calls, but not vice versa.
Bug: 26818778
Change-Id: Id34e4c3a773e6f7c75be8c85ec2642cf05dabe0a
| -rw-r--r-- | telecomm/java/android/telecom/Phone.java | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/telecomm/java/android/telecom/Phone.java b/telecomm/java/android/telecom/Phone.java index 56eb7ec5fb78..d45938cb9b85 100644 --- a/telecomm/java/android/telecom/Phone.java +++ b/telecomm/java/android/telecom/Phone.java @@ -348,11 +348,6 @@ public final class Phone { } private void checkCallTree(ParcelableCall parcelableCall) { - if (parcelableCall.getParentCallId() != null && - !mCallByTelecomCallId.containsKey(parcelableCall.getParentCallId())) { - Log.wtf(this, "ParcelableCall %s has nonexistent parent %s", - parcelableCall.getId(), parcelableCall.getParentCallId()); - } if (parcelableCall.getChildCallIds() != null) { for (int i = 0; i < parcelableCall.getChildCallIds().size(); i++) { if (!mCallByTelecomCallId.containsKey(parcelableCall.getChildCallIds().get(i))) { |