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

Commit d06f1470 authored by Remi NGUYEN VAN's avatar Remi NGUYEN VAN
Browse files

Fix javadoc for Context.TETHERING_SERVICE

Users of the API receive a TetheringManager from getSystemService; they
do not call ServiceManager.getService.

Bug: 151243982
Test: m
Change-Id: If75f590da17f07ea9d65635065689d8f4e17b40f
parent fc9119df
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -3978,10 +3978,10 @@ public abstract class Context {
    public static final String NETWORK_STACK_SERVICE = "network_stack";

    /**
     * Use with {@link android.os.ServiceManager.getService()} to retrieve a
     * {@link ITetheringConnector} IBinder for communicating with the tethering service
     * Use with {@link #getSystemService(String)} to retrieve a {@link android.net.TetheringManager}
     * for managing tethering functions.
     * @hide
     * @see TetheringClient
     * @see android.net.TetheringManager
     */
    @SystemApi
    public static final String TETHERING_SERVICE = "tethering";