DO NOT MERGE: InputSettings: Fix incorrect keyboard list on rotation.
This ports I1e4035f4dcff33e6b9a42d448303e962bd87c14b to MR1 dev. Bug: 28182232 Change-Id: I292b00a21eb80577dbfec6a13f57b326571aefc7
This commit is contained in:
@@ -212,9 +212,9 @@ public final class PhysicalKeyboardFragment extends SettingsPreferenceFragment
|
||||
clearLoader();
|
||||
mLastHardKeyboards.clear();
|
||||
mLastHardKeyboards.addAll(newHardKeyboards);
|
||||
mLoaderIDs.add(mNextLoaderId);
|
||||
getLoaderManager().initLoader(mNextLoaderId, null,
|
||||
new Callbacks(getContext(), this, mLastHardKeyboards));
|
||||
mLoaderIDs.add(mNextLoaderId);
|
||||
++mNextLoaderId;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user