Merge "API Review: factoryReset->clearBluetooth" am: 7c099faff6 am: 8139455374 am: 18f403141b am: 372d74ba71

Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2028623

Change-Id: I41aa12aecf6209ac9e01ddf923a9c47e4caa9da7
This commit is contained in:
William Escande
2022-03-21 18:02:11 +00:00
committed by Automerger Merge Worker

View File

@@ -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();
} }
} }