Merge "API Review: factoryReset->clearBluetooth" am: 7c099faff6
am: 8139455374
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2028623 Change-Id: Ia6a29c6c299aff76a4e1fc2ef58880e2ef76969c
This commit is contained in:
@@ -138,7 +138,7 @@ public class ResetNetworkConfirm extends InstrumentedFragment {
|
|||||||
if (btManager != null) {
|
if (btManager != null) {
|
||||||
BluetoothAdapter btAdapter = btManager.getAdapter();
|
BluetoothAdapter btAdapter = btManager.getAdapter();
|
||||||
if (btAdapter != null) {
|
if (btAdapter != null) {
|
||||||
btAdapter.factoryReset();
|
btAdapter.clearBluetooth();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user