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

Commit 2e98cfd7 authored by Brad Ebinger's avatar Brad Ebinger Committed by Android (Google) Code Review
Browse files

Merge "Refactoring and cleanup"

parents c1ed93eb c614d7c2
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -38560,7 +38560,6 @@ package android.telephony {
    method public boolean isOffhook();
    method public boolean isRadioOn();
    method public boolean isRinging();
    method public boolean isSimPinEnabled();
    method public boolean isSmsCapable();
    method public boolean isTtyModeSupported();
    method public boolean isVideoCallingEnabled();
+0 −13
Original line number Diff line number Diff line
@@ -3996,19 +3996,6 @@ public class TelephonyManager {
        return false;
    }

    /** @hide */
    @SystemApi
    public boolean isSimPinEnabled() {
        try {
            ITelephony telephony = getITelephony();
            if (telephony != null)
                return telephony.isSimPinEnabled(getOpPackageName());
        } catch (RemoteException e) {
            Log.e(TAG, "Error calling ITelephony#isSimPinEnabled", e);
        }
        return false;
    }

    /** @hide */
    @SystemApi
    public boolean supplyPin(String pin) {
+0 −7
Original line number Diff line number Diff line
@@ -181,13 +181,6 @@ interface ITelephony {
     */
    boolean isRadioOnForSubscriber(int subId, String callingPackage);

    /**
     * Check if the SIM pin lock is enabled.
     * @return true if the SIM pin lock is enabled.
     * @param callingPackage The package making the call.
     */
    boolean isSimPinEnabled(String callingPackage);

    /**
     * Supply a pin to unlock the SIM.  Blocks until a result is determined.
     * @param pin The pin to check.