summaryrefslogtreecommitdiff
path: root/core/java/android
diff options
context:
space:
mode:
authorKevin Hufnagle <khufnagle@google.com>2019-07-18 12:50:31 -0700
committerKevin Hufnagle <khufnagle@google.com>2019-07-18 12:50:31 -0700
commite71346fa0ab70ebf707cd6fac55f1788b77310f8 (patch)
tree362c3d2499d73baa91f7edf6b6f554f95b3ea7b8 /core/java/android
parent4bdeefacba52ed7d786278248280367dab940738 (diff)
docs: Fixed link in setCurrentTab() description
Moving focus and selected tab requires focusCurrentTab(), not setCurrentTab(). Test: make ds-docs Bug: 137317608 Change-Id: I96f4f4c32cbf8a3dfa0aac8cfa6d6cd12e8f8259
Diffstat (limited to 'core/java/android')
-rw-r--r--core/java/android/widget/TabWidget.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/android/widget/TabWidget.java b/core/java/android/widget/TabWidget.java
index 49a0f39b3bad..4c67b080252a 100644
--- a/core/java/android/widget/TabWidget.java
+++ b/core/java/android/widget/TabWidget.java
@@ -433,7 +433,7 @@ public class TabWidget extends LinearLayout implements OnFocusChangeListener {
* to the next tabbed view, in this example).
* <p>
* To move both the focus AND the selected tab at once, please use
- * {@link #setCurrentTab}. Normally, the view logic takes care of
+ * {@link #focusCurrentTab}. Normally, the view logic takes care of
* adjusting the focus, so unless you're circumventing the UI,
* you'll probably just focus your interest here.
*