diff options
author | NicoleYarroch <nicole@livio.io> | 2019-08-14 13:46:08 -0400 |
---|---|---|
committer | NicoleYarroch <nicole@livio.io> | 2019-08-14 13:46:08 -0400 |
commit | 5896f02a27b6b9a0d11fe02298a6c641b1f1eb90 (patch) | |
tree | ffdc64f246e1663241d28c46067b5b5317ec8466 | |
parent | d63b9efe73c08fca84bae72c6a36bb02ea822f60 (diff) | |
download | sdl_android-5896f02a27b6b9a0d11fe02298a6c641b1f1eb90.tar.gz |
`presentKeyboard` no longer deprecated
-rw-r--r-- | base/src/main/java/com/smartdevicelink/managers/screen/BaseScreenManager.java | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/base/src/main/java/com/smartdevicelink/managers/screen/BaseScreenManager.java b/base/src/main/java/com/smartdevicelink/managers/screen/BaseScreenManager.java index 0ab4045a2..102420375 100644 --- a/base/src/main/java/com/smartdevicelink/managers/screen/BaseScreenManager.java +++ b/base/src/main/java/com/smartdevicelink/managers/screen/BaseScreenManager.java @@ -522,20 +522,9 @@ abstract class BaseScreenManager extends BaseSubManager { * @param initialText - The initial text that is used as a placeholder text. It might not work on some head units. * @param customKeyboardProperties - the custom keyboard configuration to be used when the keyboard is displayed * @param keyboardListener - A keyboard listener to capture user input - */ - @Deprecated - public void presentKeyboard(@NonNull String initialText, @Nullable KeyboardProperties customKeyboardProperties, @NonNull KeyboardListener keyboardListener){ - presentKeyboard(initialText, keyboardListener, customKeyboardProperties); - } - - /** - * Presents a keyboard on the Head unit to capture user input - * @param initialText - The initial text that is used as a placeholder text. It might not work on some head units. - * @param keyboardListener - A keyboard listener to capture user input - * @param customKeyboardProperties - the custom keyboard configuration to be used when the keyboard is displayed * @return A unique cancelID that can be used to cancel this keyboard. If `null`, no keyboard was created. */ - public @Nullable Integer presentKeyboard(@NonNull String initialText, @NonNull KeyboardListener keyboardListener, @Nullable KeyboardProperties customKeyboardProperties){ + public Integer presentKeyboard(@NonNull String initialText, @Nullable KeyboardProperties customKeyboardProperties, @NonNull KeyboardListener keyboardListener){ return this.choiceSetManager.presentKeyboard(initialText, keyboardListener, customKeyboardProperties); } |