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

Commit 78eeefc2 authored by Meng Wang's avatar Meng Wang Committed by android-build-merger
Browse files

Merge "Remove unused SystemProperties.set"

am: 91eddeb2

Change-Id: Ia1fb47f993a84f9ef6933d99898f44718fda6eab
parents 3fd12001 91eddeb2
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