Merge "Fix memory leak in Bluetooth settings"
This commit is contained in:
@@ -210,6 +210,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