Merge "Remove obsolete reference to ServiceManagerNative." am: f961b9632f am: 045d5884fe

am: 31bfec7f19

Change-Id: I42b78ab68d81ae9b40b9429ecd684de73ceffd37
This commit is contained in:
Steven Moreland
2019-06-24 14:48:45 -07:00
committed by android-build-merger

View File

@@ -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.
*
* <p>The following code snippet demonstrates a static method to
* retrieve the ISms interface from Android:</p>
* <pre>private static ISms getSmsInterface()
throws DeadObjectException {
IServiceManager sm = ServiceManagerNative.getDefault();
ISms ss;
ss = ISms.Stub.asInterface(sm.getService("isms"));
return ss;
}
* </pre>
* See also SmsManager.java.
*/
interface ISms {
/**
* Retrieves all messages currently stored on ICC.