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

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

Remove obsolete reference to ServiceManagerNative.

ServiceManagerNative.getDefault doesn't exist. Also, the service name
iccphonebook doesn't appear to be used.

Bug: 135768100
Test: N/A
Change-Id: If536793fa2881a7a2fb825de32164af2cbb21d01
parent 773a14b1
Loading
Loading
Loading
Loading
+2 −15
Original line number Diff line number Diff line
@@ -18,22 +18,9 @@ package com.android.internal.telephony;

import com.android.internal.telephony.uicc.AdnRecord;



/** Interface for applications to access the ICC phone book.
 *
 * <p>The following code snippet demonstrates a static method to
 * retrieve the IIccPhoneBook interface from Android:</p>
 * <pre>private static IIccPhoneBook getSimPhoneBookInterface()
            throws DeadObjectException {
    IServiceManager sm = ServiceManagerNative.getDefault();
    IIccPhoneBook spb;
    spb = IIccPhoneBook.Stub.asInterface(sm.getService("iccphonebook"));
    return spb;
}
 * </pre>
/**
 * Interface for applications to access the ICC phone book.
 */

interface IIccPhoneBook {

    /**