summaryrefslogtreecommitdiff
path: root/framework/java/android/bluetooth/BluetoothStatusCodes.java
diff options
context:
space:
mode:
authorEtienne Ruffieux <eruffieux@google.com>2021-09-30 12:00:00 +0000
committerEtienne Ruffieux <eruffieux@google.com>2021-11-16 12:30:22 +0000
commit09ed48629f0690d7da1673bd0c2bad95b640c961 (patch)
tree7bd97a952883a74b813239a8dccfbbbffb3ac830 /framework/java/android/bluetooth/BluetoothStatusCodes.java
parent88ffe1213110d46e7664d7957832ecbee00b7ee5 (diff)
Refactor Bluetooth scan mode APIs
Removed setScanMode(int, long), setScanMode(int mode) is now a SystemApi. Made getDiscoverableTimeout a public API. setDiscoverableTimeout is now SystemApi and takes java.time.Duration as parameter. Tag: #feature Bug: 195150096 Test: Manual Change-Id: I824b24464987e1db87efc193d30452a6d9d0411e
Diffstat (limited to 'framework/java/android/bluetooth/BluetoothStatusCodes.java')
-rw-r--r--framework/java/android/bluetooth/BluetoothStatusCodes.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/java/android/bluetooth/BluetoothStatusCodes.java b/framework/java/android/bluetooth/BluetoothStatusCodes.java
index ca01784efd..5ba7bb1104 100644
--- a/framework/java/android/bluetooth/BluetoothStatusCodes.java
+++ b/framework/java/android/bluetooth/BluetoothStatusCodes.java
@@ -40,7 +40,7 @@ public final class BluetoothStatusCodes {
/**
* Error code indicating that the API call was initiated by neither the system nor the active
- * Zuser
+ * user
*/
public static final int ERROR_BLUETOOTH_NOT_ALLOWED = 2;