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

Commit d5e706b8 authored by LuK1337's avatar LuK1337 Committed by Danny Baumann
Browse files

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

Jira: NIGHTLIES-1372

Change-Id: I2ae0a4c16a65685969c63a4ef52cda894ae53b37
parent 9cf96997
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();
        }
    }