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

Commit bb25d1ae authored by Steven Moreland's avatar Steven Moreland
Browse files

Remove obsolete reference to ServiceManagerNative.

ServiceManagerNative.getDefault doesn't exist.

Bug: 135768100
Test: N/A
Change-Id: I6e04b54c986c3d0997429a8d810f2554d84dc119
parent 4507201d
Loading
Loading
Loading
Loading
+3 −12
Original line number Original line Diff line number Diff line
@@ -20,20 +20,11 @@ import android.app.PendingIntent;
import android.net.Uri;
import android.net.Uri;
import com.android.internal.telephony.SmsRawData;
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
 * See also SmsManager.java.
 * 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>
 */
 */

interface ISms {
interface ISms {
    /**
    /**
     * Retrieves all messages currently stored on ICC.
     * Retrieves all messages currently stored on ICC.