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

Commit 07958168 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: I13bdd5a12822a7bde3248111aeb22a821c81ef28
parents b23a7f8b 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");