Loading api/current.txt +1 −0 Original line number Diff line number Diff line Loading @@ -21782,6 +21782,7 @@ package android.os.storage { package android.phone { public final class PhoneManager { method public void cancelMissedCallsNotification(); method public boolean handlePinMmi(java.lang.String); } phone/java/android/phone/PhoneManager.java +14 −0 Original line number Diff line number Diff line Loading @@ -62,6 +62,20 @@ public final class PhoneManager { return false; } /** * Removes the missed-call notification if one is present. * <p> * Requires that the caller be set at the system dialer app. * </p> */ public void cancelMissedCallsNotification() { try { mService.cancelMissedCallsNotification(); } catch (RemoteException e) { Log.e(TAG, "Error calling ITelecommService#cancelMissedCallNotification", e); } } private ITelephony getITelephony() { return ITelephony.Stub.asInterface(ServiceManager.getService(Context.TELEPHONY_SERVICE)); } Loading telecomm/java/com/android/internal/telecomm/ITelecommService.aidl +5 −0 Original line number Diff line number Diff line Loading @@ -80,4 +80,9 @@ interface ITelecommService { * @see TelecommManager#acceptRingingCall */ void acceptRingingCall(); /** * @see PhoneManager#cancelMissedCallsNotification */ void cancelMissedCallsNotification(); } telephony/java/android/telephony/TelephonyManager.java +0 −10 Original line number Diff line number Diff line Loading @@ -2945,16 +2945,6 @@ public class TelephonyManager { return false; } /** @hide */ @SystemApi public void cancelMissedCallsNotification() { try { getITelephony().cancelMissedCallsNotification(); } catch (RemoteException e) { Log.e(TAG, "Error calling ITelephony#cancelMissedCallsNotification", e); } } /** @hide */ @SystemApi public boolean supplyPin(String pin) { Loading telephony/java/com/android/internal/telephony/ITelephony.aidl +0 −5 Original line number Diff line number Diff line Loading @@ -151,11 +151,6 @@ interface ITelephony { */ boolean isSimPinEnabled(); /** * Cancels the missed calls notification. */ void cancelMissedCallsNotification(); /** * Supply a pin to unlock the SIM. Blocks until a result is determined. * @param pin The pin to check. Loading Loading
api/current.txt +1 −0 Original line number Diff line number Diff line Loading @@ -21782,6 +21782,7 @@ package android.os.storage { package android.phone { public final class PhoneManager { method public void cancelMissedCallsNotification(); method public boolean handlePinMmi(java.lang.String); }
phone/java/android/phone/PhoneManager.java +14 −0 Original line number Diff line number Diff line Loading @@ -62,6 +62,20 @@ public final class PhoneManager { return false; } /** * Removes the missed-call notification if one is present. * <p> * Requires that the caller be set at the system dialer app. * </p> */ public void cancelMissedCallsNotification() { try { mService.cancelMissedCallsNotification(); } catch (RemoteException e) { Log.e(TAG, "Error calling ITelecommService#cancelMissedCallNotification", e); } } private ITelephony getITelephony() { return ITelephony.Stub.asInterface(ServiceManager.getService(Context.TELEPHONY_SERVICE)); } Loading
telecomm/java/com/android/internal/telecomm/ITelecommService.aidl +5 −0 Original line number Diff line number Diff line Loading @@ -80,4 +80,9 @@ interface ITelecommService { * @see TelecommManager#acceptRingingCall */ void acceptRingingCall(); /** * @see PhoneManager#cancelMissedCallsNotification */ void cancelMissedCallsNotification(); }
telephony/java/android/telephony/TelephonyManager.java +0 −10 Original line number Diff line number Diff line Loading @@ -2945,16 +2945,6 @@ public class TelephonyManager { return false; } /** @hide */ @SystemApi public void cancelMissedCallsNotification() { try { getITelephony().cancelMissedCallsNotification(); } catch (RemoteException e) { Log.e(TAG, "Error calling ITelephony#cancelMissedCallsNotification", e); } } /** @hide */ @SystemApi public boolean supplyPin(String pin) { Loading
telephony/java/com/android/internal/telephony/ITelephony.aidl +0 −5 Original line number Diff line number Diff line Loading @@ -151,11 +151,6 @@ interface ITelephony { */ boolean isSimPinEnabled(); /** * Cancels the missed calls notification. */ void cancelMissedCallsNotification(); /** * Supply a pin to unlock the SIM. Blocks until a result is determined. * @param pin The pin to check. Loading