Refactoring and cleanup

Cleans up obsolete parts of services/Telephony and absorbs others
into Telecomm.


Bug: 26204262
Change-Id: I2028ae0177d83241f861cd59fa78b5f5a869f572
This commit is contained in:
Brad Ebinger
2016-01-07 17:25:50 -08:00
parent 674633ee9a
commit c614d7c2d5
3 changed files with 0 additions and 21 deletions

View File

@@ -38474,7 +38474,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();

View File

@@ -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) {

View File

@@ -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.