Merge "Fix memory leak in Bluetooth settings"

This commit is contained in:
Treehugger Robot
2017-08-09 18:27:43 +00:00
committed by Gerrit Code Review

View File

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