Merge "Fix memory leak in Bluetooth settings" am: 5a652c0286
am: 8d3bb3e2ad
am: c46b5e60b9
am: 8ba28798aa
Change-Id: Ib0f0e1d0ec3bbcf2223e5609bc6218f0c360a5cb
This commit is contained in:
@@ -152,6 +152,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