From 237c189723aa004875f179183b0d26b34a55a7bf Mon Sep 17 00:00:00 2001 From: Andrew Solovay Date: Fri, 27 Oct 2017 15:11:48 -0700 Subject: docs: Typo fixes See first comment for doc stage location. Change-Id: I29661ffab0ff10021671df0b725c9f9b12430960 Bug: 67886596 Bug: 67932414 Test: make ds-docs --- core/java/android/bluetooth/BluetoothGattCharacteristic.java | 2 +- core/java/android/widget/AdapterView.java | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/core/java/android/bluetooth/BluetoothGattCharacteristic.java b/core/java/android/bluetooth/BluetoothGattCharacteristic.java index 1cc2270be566..6609907ec3cc 100644 --- a/core/java/android/bluetooth/BluetoothGattCharacteristic.java +++ b/core/java/android/bluetooth/BluetoothGattCharacteristic.java @@ -119,7 +119,7 @@ public class BluetoothGattCharacteristic implements Parcelable { public static final int WRITE_TYPE_DEFAULT = 0x02; /** - * Wrtite characteristic without requiring a response by the remote device + * Write characteristic without requiring a response by the remote device */ public static final int WRITE_TYPE_NO_RESPONSE = 0x01; diff --git a/core/java/android/widget/AdapterView.java b/core/java/android/widget/AdapterView.java index dd01251cf9b9..6c192563658e 100644 --- a/core/java/android/widget/AdapterView.java +++ b/core/java/android/widget/AdapterView.java @@ -202,7 +202,7 @@ public abstract class AdapterView extends ViewGroup { * The last selected position we used when notifying */ int mOldSelectedPosition = INVALID_POSITION; - + /** * The id of the last selected position we used when notifying */ @@ -382,7 +382,7 @@ public abstract class AdapterView extends ViewGroup { * position is different from the previously selected position or if * there was no selected item.

* - * Impelmenters can call getItemAtPosition(position) if they need to access the + * Implementers can call getItemAtPosition(position) if they need to access the * data associated with the selected item. * * @param parent The AdapterView where the selection happened @@ -778,8 +778,8 @@ public abstract class AdapterView extends ViewGroup { // We are now GONE, so pending layouts will not be dispatched. // Force one here to make sure that the state of the list matches // the state of the adapter. - if (mDataChanged) { - this.onLayout(false, mLeft, mTop, mRight, mBottom); + if (mDataChanged) { + this.onLayout(false, mLeft, mTop, mRight, mBottom); } } else { if (mEmptyView != null) mEmptyView.setVisibility(View.GONE); @@ -1304,4 +1304,4 @@ public abstract class AdapterView extends ViewGroup { structure.setAutofillOptions(options); } } -} \ No newline at end of file +} -- cgit v1.2.3-59-g8ed1b