Fix broken PK setting page
Culprit CL: ag/24940191, the InputDeviceIdentifier wasn't properly passed onto the Profile specific instances of PK settings fragment. Bug: 317416208 Test: manual Change-Id: I8431cc6c220cc313ea7a7b1931d2a5a88fa46797
This commit is contained in:
@@ -51,9 +51,11 @@ public final class ProfileSelectPhysicalKeyboardFragment extends ProfileSelectFr
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Fragment[] getFragments() {
|
public Fragment[] getFragments() {
|
||||||
|
Bundle bundle = new Bundle();
|
||||||
|
bundle.putParcelable(Settings.EXTRA_INPUT_DEVICE_IDENTIFIER, mInputDeviceIdentifier);
|
||||||
return ProfileSelectFragment.getFragments(
|
return ProfileSelectFragment.getFragments(
|
||||||
getContext(),
|
getContext(),
|
||||||
null /* bundle */,
|
bundle,
|
||||||
NewKeyboardLayoutEnabledLocalesFragment::new,
|
NewKeyboardLayoutEnabledLocalesFragment::new,
|
||||||
NewKeyboardLayoutEnabledLocalesFragment::new,
|
NewKeyboardLayoutEnabledLocalesFragment::new,
|
||||||
NewKeyboardLayoutEnabledLocalesFragment::new);
|
NewKeyboardLayoutEnabledLocalesFragment::new);
|
||||||
|
Reference in New Issue
Block a user