Update context on resume calls for BluetoothAdvertisingEnabler and BluetoothEnabler
The saved context could be invalid if not updated bug 12991455 Change-Id: I93abb8420d0fa53add1f0e843a5069d59743891c
This commit is contained in:
@@ -151,7 +151,7 @@ public final class BluetoothSettings extends DeviceListPreferenceFragment {
|
||||
// resume BluetoothEnabler before calling super.onResume() so we don't get
|
||||
// any onDeviceAdded() callbacks before setting up view in updateContent()
|
||||
if (mBluetoothEnabler != null) {
|
||||
mBluetoothEnabler.resume();
|
||||
mBluetoothEnabler.resume(getActivity());
|
||||
}
|
||||
super.onResume();
|
||||
|
||||
|
Reference in New Issue
Block a user