Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 045d5884 authored by Steven Moreland's avatar Steven Moreland Committed by android-build-merger
Browse files

Merge "Remove obsolete reference to ServiceManagerNative."

am: f961b963

Change-Id: I1b3365d9c07f5ca01a886ef453d2af392505c8ee
parents ebdd783a f961b963
Loading
Loading
Loading
Loading
+3 −12
Original line number Diff line number Diff line
@@ -20,20 +20,11 @@ import android.app.PendingIntent;
import android.net.Uri;
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.