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 (clean cherry-pick from internal branch) Merged-In: If75f590da17f07ea9d65635065689d8f4e17b40f Change-Id: I129ffa7abae1218bcf88ccb8ba074ec8ad50119b
This commit is contained in:
@@ -3867,10 +3867,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";
|
||||
|
||||
Reference in New Issue
Block a user