Merge "Fix memory leak in Bluetooth settings" am: 5a652c0286
am: 8d3bb3e2ad
am: c46b5e60b9
Change-Id: I1c8766701e83c9354bebf6554742c24756de7117
This commit is contained in:
@@ -156,6 +156,7 @@ public class BluetoothSettings extends DeviceListPreferenceFragment implements I
|
|||||||
@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