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