From d06f14700fd8e97cfbc5f3b934190144a264c3b3 Mon Sep 17 00:00:00 2001 From: Remi NGUYEN VAN Date: Thu, 19 Mar 2020 11:37:42 +0900 Subject: [PATCH] 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 --- core/java/android/content/Context.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/java/android/content/Context.java b/core/java/android/content/Context.java index 67f6d0edfbc84..7db81e6de55aa 100644 --- a/core/java/android/content/Context.java +++ b/core/java/android/content/Context.java @@ -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";