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

Commit 90cae224 authored by LuK1337's avatar LuK1337 Committed by Brint E. Kriebel
Browse files

msim: Fix saving default sim from select SIM dialog (2/2)

Jira: NIGHTLIES-1372, CYNGNOS-485

Change-Id: I2ae0a4c16a65685969c63a4ef52cda894ae53b37
(cherry picked from commit d5e706b8)
parent 9290025c
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -324,11 +324,13 @@ class InCallAdapter extends IInCallAdapter.Stub {
    }

    @Override
    public void phoneAccountSelected(String callId, PhoneAccountHandle accountHandle) {
    public void phoneAccountSelected(String callId, PhoneAccountHandle accountHandle,
            boolean setDefault) {
        if (mCallIdMapper.isValidCallId(callId)) {
            SomeArgs args = SomeArgs.obtain();
            args.arg1 = callId;
            args.arg2 = accountHandle;
            args.argi1 = setDefault ? 1 : 0;
            mHandler.obtainMessage(MSG_PHONE_ACCOUNT_SELECTED, args).sendToTarget();
        }
    }