summaryrefslogtreecommitdiff
path: root/framework/java/android/bluetooth/BluetoothGatt.java
diff options
context:
space:
mode:
authorStanley Tng <stng@google.com>2018-05-03 08:50:49 -0700
committerStanley Tng <stng@google.com>2018-05-04 23:20:46 +0000
commit7cffaa9a37e485c6d204060cc647470a70f055d7 (patch)
treeccbac7c1106a6c553902a937a569f95a7972d896 /framework/java/android/bluetooth/BluetoothGatt.java
parent0526517022309bf3720c38c5451e5cc248b407c7 (diff)
Fix spelling errors in BluetoothGatt documentation
Correct "paramter" to "parameter". Correct "connectoin" to connection. Bug: 79198797 Test: Compile Change-Id: I98646eec66da2aaa6f74ae2db35ea914c6a105a1 (cherry picked from commit 201c4a40b17d1375c8f8dc8a1a4976346e17e698)
Diffstat (limited to 'framework/java/android/bluetooth/BluetoothGatt.java')
-rw-r--r--framework/java/android/bluetooth/BluetoothGatt.java14
1 files changed, 7 insertions, 7 deletions
diff --git a/framework/java/android/bluetooth/BluetoothGatt.java b/framework/java/android/bluetooth/BluetoothGatt.java
index 71edc8a32c..457119dc5b 100644
--- a/framework/java/android/bluetooth/BluetoothGatt.java
+++ b/framework/java/android/bluetooth/BluetoothGatt.java
@@ -98,22 +98,22 @@ public final class BluetoothGatt implements BluetoothProfile {
public static final int GATT_FAILURE = 0x101;
/**
- * Connection paramter update - Use the connection paramters recommended by the
+ * Connection parameter update - Use the connection parameters recommended by the
* Bluetooth SIG. This is the default value if no connection parameter update
* is requested.
*/
public static final int CONNECTION_PRIORITY_BALANCED = 0;
/**
- * Connection paramter update - Request a high priority, low latency connection.
- * An application should only request high priority connection paramters to transfer
- * large amounts of data over LE quickly. Once the transfer is complete, the application
- * should request {@link BluetoothGatt#CONNECTION_PRIORITY_BALANCED} connectoin parameters
- * to reduce energy use.
+ * Connection parameter update - Request a high priority, low latency connection.
+ * An application should only request high priority connection parameters to transfer large
+ * amounts of data over LE quickly. Once the transfer is complete, the application should
+ * request {@link BluetoothGatt#CONNECTION_PRIORITY_BALANCED} connection parameters to reduce
+ * energy use.
*/
public static final int CONNECTION_PRIORITY_HIGH = 1;
- /** Connection paramter update - Request low power, reduced data rate connection parameters. */
+ /** Connection parameter update - Request low power, reduced data rate connection parameters. */
public static final int CONNECTION_PRIORITY_LOW_POWER = 2;
/**