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

am: cc6b8a868d

Change-Id: Ie742ea8ba0f1e463ddafe7d76e174df6e33fb860
This commit is contained in:
mingliang.x.lei
2017-08-10 02:28:19 +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();
}