API Review: factoryReset->clearBluetooth

> Consider renaming the factoryReset method to “clearBluetooth”.

Bug: 222725037
Test: TH
Tag; #refactor

Change-Id: Id42a3344b6ae1a42d0128d2a055b9710f81c4b81
This commit is contained in:
William Escande
2022-03-16 16:14:11 +01:00
parent 4041027433
commit cd1d375cbd

View File

@@ -138,7 +138,7 @@ public class ResetNetworkConfirm extends InstrumentedFragment {
if (btManager != null) {
BluetoothAdapter btAdapter = btManager.getAdapter();
if (btAdapter != null) {
btAdapter.factoryReset();
btAdapter.clearBluetooth();
}
}