Merge "Remove obsolete reference to ServiceManagerNative." am: f961b9632f
am: 045d5884fe
Change-Id: I434212fe15be9b6ed1abde556718c08eb552709a
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user