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

Commit 756bbab5 authored by Android Build Merger (Role)'s avatar Android Build Merger (Role) Committed by Android (Google) Code Review
Browse files

Merge "Merge "Reset callNetworkType and CallQuality after calls" am:...

Merge "Merge "Reset callNetworkType and CallQuality after calls" am: 5819a337 am: dd0e480a am: e7e95b69"
parents 4433d0ba 64977f02
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -1551,6 +1551,13 @@ public class TelephonyRegistry extends ITelephonyRegistry.Stub {
                log("notifyPreciseCallState: mCallQuality is null, skipping call attributes");
                notifyCallAttributes = false;
            } else {
                // If the precise call state is no longer active, reset the call network type and
                // call quality.
                if (mPreciseCallState.getForegroundCallState()
                        != PreciseCallState.PRECISE_CALL_STATE_ACTIVE) {
                    mCallNetworkType = TelephonyManager.NETWORK_TYPE_UNKNOWN;
                    mCallQuality = new CallQuality();
                }
                mCallAttributes = new CallAttributes(mPreciseCallState, mCallNetworkType,
                        mCallQuality);
            }