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

Commit d31fdf05 authored by Wink Saville's avatar Wink Saville
Browse files

Add getCdmaSubscriptionSource to CommandsInterface.

This was accidentally not added previously and it had an
extra parameter.

Change-Id: Ic48ab9e637a5343b63d3e03377acd2679b0f77e0
parent c70d483f
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -1440,6 +1440,12 @@ public interface CommandsInterface {
     */
    void setCdmaSubscriptionSource(int cdmaSubscriptionType, Message response);

    /**
     *  Requests to get the CDMA subscription srouce
     * @param response is callback message
     */
    void getCdmaSubscriptionSource(Message response);

    /**
     *  Set the TTY mode
     *
+3 −3
Original line number Diff line number Diff line
@@ -3634,12 +3634,12 @@ public final class RIL extends BaseCommands implements CommandsInterface {
    /**
     * {@inheritDoc}
     */
    public void getCdmaSubscriptionSource(int cdmaSubscription , Message response) {
    @Override
    public void getCdmaSubscriptionSource(Message response) {
        RILRequest rr = RILRequest.obtain(
                RILConstants.RIL_REQUEST_CDMA_GET_SUBSCRIPTION_SOURCE, response);

        if (RILJ_LOGD) riljLog(rr.serialString() + "> " + requestToString(rr.mRequest)
                + " : " + cdmaSubscription);
        if (RILJ_LOGD) riljLog(rr.serialString() + "> " + requestToString(rr.mRequest));

        send(rr);
    }
+4 −0
Original line number Diff line number Diff line
@@ -326,6 +326,10 @@ class SipCommandInterface extends BaseCommands implements CommandsInterface {
    public void reportStkServiceIsRunning(Message result) {
    }

    @Override
    public void getCdmaSubscriptionSource(Message response) {
    }

    public void getGsmBroadcastConfig(Message response) {
    }

+5 −0
Original line number Diff line number Diff line
@@ -1001,6 +1001,11 @@ public final class SimulatedCommands extends BaseCommands
        resultSuccess(result, null);
    }

    @Override
    public void getCdmaSubscriptionSource(Message result) {
        unimplemented(result);
    }

    private boolean isSimLocked() {
        if (mSimLockedState != SimLockState.NONE) {
            return true;