Fixed a crash when loading Bluetooth Settings.
Bug: 17320674 Change-Id: Ibff0b5929b88b1a48c1fdd810fd8461bdb5f1274
This commit is contained in:
@@ -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