Merge "DO NOT MERGE: InputSettings: Fix incorrect keyboard list on rotation." into nyc-mr1-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
5af83786f7
@@ -212,9 +212,9 @@ public final class PhysicalKeyboardFragment extends SettingsPreferenceFragment
|
|||||||
clearLoader();
|
clearLoader();
|
||||||
mLastHardKeyboards.clear();
|
mLastHardKeyboards.clear();
|
||||||
mLastHardKeyboards.addAll(newHardKeyboards);
|
mLastHardKeyboards.addAll(newHardKeyboards);
|
||||||
|
mLoaderIDs.add(mNextLoaderId);
|
||||||
getLoaderManager().initLoader(mNextLoaderId, null,
|
getLoaderManager().initLoader(mNextLoaderId, null,
|
||||||
new Callbacks(getContext(), this, mLastHardKeyboards));
|
new Callbacks(getContext(), this, mLastHardKeyboards));
|
||||||
mLoaderIDs.add(mNextLoaderId);
|
|
||||||
++mNextLoaderId;
|
++mNextLoaderId;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user