mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Backout D36784563
Summary: D36784563 (https://github.com/facebook/react-native/commit/ec307e0167deca7f17640cd3c5a60f6be5f47b62) caused some issues with TextInputs with numeric keyboard types not respecting the secureTextEntry prop Changelog [Android] [Fixed] - Revert PR 33924 because of issues with TextInputs with numeric keyboard types not respecting the secureTextEntry prop Reviewed By: makovkastar Differential Revision: D36994688 fbshipit-source-id: 89cd556ca1cf8fd89560aeb9ead129607b4c13c6
This commit is contained in:
committed by
Facebook GitHub Bot
parent
d8c25ca1b6
commit
edb27e3aa1
+1
-8
@@ -148,13 +148,6 @@ public class ReactTextInputManager extends BaseViewManager<ReactEditText, Layout
|
||||
InputType.TYPE_TEXT_FLAG_CAP_SENTENCES
|
||||
| InputType.TYPE_TEXT_FLAG_CAP_WORDS
|
||||
| InputType.TYPE_TEXT_FLAG_CAP_CHARACTERS;
|
||||
private static final int INPUT_TYPE_CLEAR =
|
||||
InputType.TYPE_MASK_CLASS
|
||||
| InputType.TYPE_NUMBER_FLAG_SIGNED
|
||||
| InputType.TYPE_NUMBER_FLAG_DECIMAL
|
||||
| InputType.TYPE_TEXT_VARIATION_EMAIL_ADDRESS
|
||||
| InputType.TYPE_TEXT_VARIATION_VISIBLE_PASSWORD
|
||||
| InputType.TYPE_TEXT_VARIATION_URI;
|
||||
|
||||
private static final String KEYBOARD_TYPE_EMAIL_ADDRESS = "email-address";
|
||||
private static final String KEYBOARD_TYPE_NUMERIC = "numeric";
|
||||
@@ -862,7 +855,7 @@ public class ReactTextInputManager extends BaseViewManager<ReactEditText, Layout
|
||||
flagsToSet = InputType.TYPE_TEXT_VARIATION_URI;
|
||||
}
|
||||
|
||||
updateStagedInputTypeFlag(view, INPUT_TYPE_CLEAR, flagsToSet);
|
||||
updateStagedInputTypeFlag(view, InputType.TYPE_MASK_CLASS, flagsToSet);
|
||||
checkPasswordType(view);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user