Merge "Fixed a crash when loading Bluetooth Settings." into lmp-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
ebe496ea7b
@@ -393,7 +393,7 @@ public final class BluetoothSettings extends DeviceListPreferenceFragment implem
|
||||
}
|
||||
if (profileFrag == null) {
|
||||
LayoutInflater inflater = getActivity().getLayoutInflater();
|
||||
mSettingsDialogView = inflater.inflate(R.layout.bluetooth_device_picker, null);
|
||||
mSettingsDialogView = inflater.inflate(R.layout.bluetooth_device_settings, null);
|
||||
profileFrag = (DeviceProfilesSettings)activity.getFragmentManager()
|
||||
.findFragmentById(R.id.bluetooth_fragment_settings);
|
||||
}
|
||||
|
Reference in New Issue
Block a user