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

Commit 0ee0d8d3 authored by Meng Wang's avatar Meng Wang
Browse files

Remove unused SystemProperties.set

Bug: 140908357
Test: make
Merged-In: Id671d29f7ec31f5e9de2a0da2ab3031fc0d17556
Change-Id: Id671d29f7ec31f5e9de2a0da2ab3031fc0d17556
parent 79995b7a
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