Fix docs
Change-Id: Idea902ec3b6e540972650a070e8d224603a55c94
diff --git a/core/java/android/widget/Spinner.java b/core/java/android/widget/Spinner.java
index d571a2b..aef8a34 100644
--- a/core/java/android/widget/Spinner.java
+++ b/core/java/android/widget/Spinner.java
@@ -223,7 +223,7 @@
* Set the background drawable for the spinner's popup window of choices.
* Only valid in {@link #MODE_DROPDOWN}; this method is a no-op in other modes.
*
- * @param background Resource ID of a background drawable
+ * @param resId Resource ID of a background drawable
*
* @attr ref android.R.styleable#Spinner_popupBackground
*/
diff --git a/core/java/android/widget/Switch.java b/core/java/android/widget/Switch.java
index 507d73a..92ad88d 100644
--- a/core/java/android/widget/Switch.java
+++ b/core/java/android/widget/Switch.java
@@ -361,7 +361,7 @@
/**
* Set the drawable used for the track that the switch slides within.
*
- * @param track Resource ID of a track drawable
+ * @param resId Resource ID of a track drawable
*
* @attr ref android.R.styleable#Switch_track
*/
@@ -397,7 +397,7 @@
* Set the drawable used for the switch "thumb" - the piece that the user
* can physically touch and drag along the track.
*
- * @param thumb Resource ID of a thumb drawable
+ * @param resId Resource ID of a thumb drawable
*
* @attr ref android.R.styleable#Switch_thumb
*/