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

am: 045d5884fe

Change-Id: I434212fe15be9b6ed1abde556718c08eb552709a
This commit is contained in:
Steven Moreland
2019-06-24 14:44:53 -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.