diff options
author | 2011-12-15 14:45:14 +0900 | |
---|---|---|
committer | 2011-12-16 20:10:57 +0900 | |
commit | 645128af712961456a42cbcc34c0cdf5f0b40a83 (patch) | |
tree | 76bd95fdcffa8c443908ab15a78a92212e280a65 /java/src/com/android/inputmethod/latin/suggestions/MoreSuggestions.java | |
parent | 13db05f93018f14b3695140bbed63a21b2d41bfe (diff) | |
download | latinime-645128af712961456a42cbcc34c0cdf5f0b40a83.tar.gz latinime-645128af712961456a42cbcc34c0cdf5f0b40a83.tar.xz latinime-645128af712961456a42cbcc34c0cdf5f0b40a83.zip |
Move KeyboardSwitcher.getKeyboard to KeyboardSet
This change also gets rid of XML id from KeyboardId.
Bug: 5002108
Bug: 5679585
Change-Id: I7086c7da3c01ba4ade7f77ee5cc731310da46404
Diffstat (limited to 'java/src/com/android/inputmethod/latin/suggestions/MoreSuggestions.java')
-rw-r--r-- | java/src/com/android/inputmethod/latin/suggestions/MoreSuggestions.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/java/src/com/android/inputmethod/latin/suggestions/MoreSuggestions.java b/java/src/com/android/inputmethod/latin/suggestions/MoreSuggestions.java index 7f5918991..eeabb30e4 100644 --- a/java/src/com/android/inputmethod/latin/suggestions/MoreSuggestions.java +++ b/java/src/com/android/inputmethod/latin/suggestions/MoreSuggestions.java @@ -181,7 +181,7 @@ public class MoreSuggestions extends Keyboard { int minWidth, int maxRow) { final Keyboard keyboard = KeyboardSwitcher.getInstance().getLatinKeyboard(); final int xmlId = R.xml.kbd_suggestions_pane_template; - load(keyboard.mId.cloneWithNewXml(xmlId)); + load(xmlId, keyboard.mId); mParams.mVerticalGap = mParams.mTopPadding = keyboard.mVerticalGap / 2; final int count = mParams.layout(suggestions, fromPos, maxWidth, minWidth, maxRow, |