commit | bfbaa3a0b1694e75c45b1c56ab8a1bec0fa444fe | [log] [tgz] |
---|---|---|
author | William Escande <wescande@google.com> | Mon Mar 21 16:56:32 2022 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Mon Mar 21 16:56:32 2022 +0000 |
tree | 2569c3c5c9cbea9b880ee665c4526b1aab0f02b0 | |
parent | cfb4f334b94e8b274056805de12153fa6709a343 [diff] | |
parent | ef3d8b7e0d4c0273fd8dd3ad4bb5d1d1159f1523 [diff] |
Merge "API Review: factoryReset->clearBluetooth"
diff --git a/Common/src/com/googlecode/android_scripting/facade/bluetooth/BluetoothFacade.java b/Common/src/com/googlecode/android_scripting/facade/bluetooth/BluetoothFacade.java index 1fe343b..0263c90 100644 --- a/Common/src/com/googlecode/android_scripting/facade/bluetooth/BluetoothFacade.java +++ b/Common/src/com/googlecode/android_scripting/facade/bluetooth/BluetoothFacade.java
@@ -329,7 +329,7 @@ @Rpc(description = "Factory reset bluetooth settings.", returns = "True if successful.") public boolean bluetoothFactoryReset() { - return mBluetoothAdapter.factoryReset(); + return mBluetoothAdapter.clearBluetooth(); } @Rpc(description = "Toggle Bluetooth on and off.", returns = "True if Bluetooth is enabled.")