diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2022-06-02 10:21:11 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2022-06-02 10:21:11 +0000 |
commit | d452387c1fcebfe22592829313b73e2a9fa97eea (patch) | |
tree | fbff498e82d504096f984e0db4e69fdf6ba4b8f6 | |
parent | 98af3dda7f9a48fd64d547736adf150dc5961952 (diff) | |
parent | 5a23543ce761dad96612ccdd21e4f1f884530636 (diff) |
Snap for 8673110 from 5a23543ce761dad96612ccdd21e4f1f884530636 to s-keystone-qcom-release
Change-Id: I8b777399230c8a6d22ec95aeae422026d8994083
-rw-r--r-- | src/com/android/services/telephony/TelephonyConnection.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/com/android/services/telephony/TelephonyConnection.java b/src/com/android/services/telephony/TelephonyConnection.java index 27db7ab97f..e14c0c0105 100644 --- a/src/com/android/services/telephony/TelephonyConnection.java +++ b/src/com/android/services/telephony/TelephonyConnection.java @@ -2012,8 +2012,10 @@ abstract class TelephonyConnection extends Connection implements Holdable, for (com.android.internal.telephony.Connection conn : connections) { if (conn instanceof ImsPhoneConnection) { ImsCall bgCall = ((ImsPhoneConnection)conn).getImsCall(); - isCurrentBgVideoCall |= bgCall.isVideoCall(); - wasBgVideoCall |= bgCall.wasVideoCall(); + if (bgCall != null) { + isCurrentBgVideoCall |= bgCall.isVideoCall(); + wasBgVideoCall |= bgCall.wasVideoCall(); + } } } |