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

Commit c89db5aa authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Catch NPE in ImsPhoneCallTracker#holdActiveCall when call to hold is...

Merge "Catch NPE in ImsPhoneCallTracker#holdActiveCall when call to hold is null." into sc-qpr1-dev am: 410b60d7

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/opt/telephony/+/15632055

Change-Id: I8f46e1f8895bc28b890fb87effb2d2d1d88e3b0b
parents aa97bd8d 410b60d7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1857,7 +1857,7 @@ public class ImsPhoneCallTracker extends CallTracker implements ImsPullCall {
                callToHold.hold();
                mMetrics.writeOnImsCommand(mPhone.getPhoneId(), callToHold.getSession(),
                        ImsCommand.IMS_CMD_HOLD);
            } catch (ImsException e) {
            } catch (ImsException | NullPointerException e) {
                mForegroundCall.switchWith(mBackgroundCall);
                mHoldSwitchingState = oldHoldState;
                logHoldSwapState("holdActiveCall - fail");