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:
@@ -138,7 +138,7 @@ public class ResetNetworkConfirm extends InstrumentedFragment {
|
||||
if (btManager != null) {
|
||||
BluetoothAdapter btAdapter = btManager.getAdapter();
|
||||
if (btAdapter != null) {
|
||||
btAdapter.factoryReset();
|
||||
btAdapter.clearBluetooth();
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user