mirror of
https://github.com/keymanapp/keyman.git
synced 2026-09-22 23:57:42 +00:00
chore(android/engine): Rename result variables
This commit is contained in:
parent
30fc5b0434
commit
1bff2cd799
1 changed files with 3 additions and 3 deletions
|
|
@ -2116,17 +2116,17 @@ public final class KMManager {
|
|||
globeKeyState = state;
|
||||
}
|
||||
|
||||
private static void toggleSuggestionBanner(String languageID, boolean result1, boolean result2) {
|
||||
private static void toggleSuggestionBanner(String languageID, boolean inappKeyboardChanged, boolean systemKeyboardChanged) {
|
||||
//reset banner state if new language has no lexical model
|
||||
if (currentBanner.equals(KMManager.KM_BANNER_STATE_SUGGESTION)
|
||||
&& getAssociatedLexicalModel(languageID)==null) {
|
||||
currentBanner = KMManager.KM_BANNER_STATE_BLANK;
|
||||
}
|
||||
|
||||
if(result1) {
|
||||
if(inappKeyboardChanged) {
|
||||
InAppKeyboard.setLayoutParams(getKeyboardLayoutParams());
|
||||
}
|
||||
if(result2) {
|
||||
if(systemKeyboardChanged) {
|
||||
SystemKeyboard.setLayoutParams(getKeyboardLayoutParams());
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue