Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6b3969d1 authored by Brad Ebinger's avatar Brad Ebinger Committed by Android (Google) Code Review
Browse files

Merge "Fix NullPointerException in ImsPhoneCallTracker" into nyc-mr1-dev

parents 3e350ec5 f8a97a03
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -2345,7 +2345,10 @@ public class ImsPhoneCallTracker extends CallTracker implements ImsPullCall {
        // eventually counted when next getVtDataUsage is called.
        if (mState != PhoneConstants.State.IDLE) {
            for (ImsPhoneConnection conn : mConnections) {
                conn.getVideoProvider().onRequestConnectionDataUsage();
                android.telecom.Connection.VideoProvider videoProvider = conn.getVideoProvider();
                if (videoProvider != null) {
                    videoProvider.onRequestConnectionDataUsage();
                }
            }
        }