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

Commit 91eddeb2 authored by Meng Wang's avatar Meng Wang Committed by Gerrit Code Review
Browse files

Merge "Remove unused SystemProperties.set"

parents 8c6bcdb0 0ee0d8d3
Loading
Loading
Loading
Loading
+0 −21
Original line number Diff line number Diff line
@@ -431,27 +431,6 @@ public abstract class Phone extends Handler implements PhoneInternalInterface {
        return mActionAttached;
    }

    /**
     * Set a system property for the current phone, unless we're in unit test mode
     */
    // CAF_MSIM TODO this need to be replated with TelephonyManager API ?
    public void setSystemProperty(String property, String value) {
        if (getUnitTestMode()) {
            return;
        }
        TelephonyManager.setTelephonyProperty(mPhoneId, property, value);
    }

    /**
     * Set a system property for all phones, unless we're in unit test mode
     */
    public void setGlobalSystemProperty(String property, String value) {
        if (getUnitTestMode()) {
            return;
        }
        TelephonyManager.setTelephonyProperty(property, value);
    }

    /**
     * Set a system property, unless we're in unit test mode
     */
+0 −6
Original line number Diff line number Diff line
@@ -1181,12 +1181,6 @@ public abstract class IccRecords extends Handler implements IccConstants {
        return null;
    }

    protected void setSystemProperty(String key, String val) {
        TelephonyManager.getDefault().setTelephonyProperty(mParentApp.getPhoneId(), key, val);

        log("[key, value]=" + key + ", " +  val);
    }

    /**
     * Returns the response of the SIM application on the UICC to authentication
     * challenge/response algorithm. The data string and challenge response are