Merge "Fix memory leak in Bluetooth settings" am: 5a652c0286

am: 8d3bb3e2ad

Change-Id: Iebccb788115a2be1fca3144199fc3e857a11556f
This commit is contained in:
mingliang.x.lei
2017-08-09 18:36:33 +00:00
committed by android-build-merger

View File

@@ -215,6 +215,7 @@ public final class BluetoothSettings extends DeviceListPreferenceFragment implem
@Override
public void onStop() {
super.onStop();
mPairedDevicesCategory.removeAll();
if (mBluetoothEnabler != null) {
mBluetoothEnabler.pause();
}