Merge "Fix memory leak in Bluetooth settings" am: 5a652c0286
am: 8d3bb3e2ad
Change-Id: Iebccb788115a2be1fca3144199fc3e857a11556f
This commit is contained in:
@@ -215,6 +215,7 @@ public final class BluetoothSettings extends DeviceListPreferenceFragment implem
|
|||||||
@Override
|
@Override
|
||||||
public void onStop() {
|
public void onStop() {
|
||||||
super.onStop();
|
super.onStop();
|
||||||
|
mPairedDevicesCategory.removeAll();
|
||||||
if (mBluetoothEnabler != null) {
|
if (mBluetoothEnabler != null) {
|
||||||
mBluetoothEnabler.pause();
|
mBluetoothEnabler.pause();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user