diff --git a/telephony/java/com/android/internal/telephony/ISms.aidl b/telephony/java/com/android/internal/telephony/ISms.aidl index c34feeda6b507..7441c26a8061f 100644 --- a/telephony/java/com/android/internal/telephony/ISms.aidl +++ b/telephony/java/com/android/internal/telephony/ISms.aidl @@ -22,20 +22,11 @@ import android.os.Bundle; import android.telephony.IFinancialSmsCallback; import com.android.internal.telephony.SmsRawData; -/** Interface for applications to access the ICC phone book. +/** + * Interface for applications to access the ICC phone book. * - *

The following code snippet demonstrates a static method to - * retrieve the ISms interface from Android:

- *
private static ISms getSmsInterface()
-            throws DeadObjectException {
-    IServiceManager sm = ServiceManagerNative.getDefault();
-    ISms ss;
-    ss = ISms.Stub.asInterface(sm.getService("isms"));
-    return ss;
-}
- * 
+ * See also SmsManager.java. */ - interface ISms { /** * Retrieves all messages currently stored on ICC.