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

am: 8ba28798aa

Change-Id: Ib0f0e1d0ec3bbcf2223e5609bc6218f0c360a5cb
This commit is contained in:
mingliang.x.lei
2017-08-10 00:06:32 +00:00
committed by android-build-merger

View File

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