Android: Replace magic number for TYPE_NUMBER_VARIATION_PASSWORD
This field has been defined since API level 11, so no reason why we shouldn't just use that instead. Pick-to: 6.0 Change-Id: I8e3ffde3680e41f26d776e1f0474f632186a6b27 Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
This commit is contained in:
parent
5e95fab53f
commit
8ad66a1488
@ -343,7 +343,7 @@ public class QtActivityDelegate
|
||||
}
|
||||
|
||||
if ((inputHints & ImhHiddenText) != 0)
|
||||
inputType |= 0x10 /* TYPE_NUMBER_VARIATION_PASSWORD */;
|
||||
inputType |= android.text.InputType.TYPE_NUMBER_VARIATION_PASSWORD;
|
||||
} else if ((inputHints & ImhDialableCharactersOnly) != 0) {
|
||||
inputType = android.text.InputType.TYPE_CLASS_PHONE;
|
||||
} else if ((inputHints & (ImhDate | ImhTime)) != 0) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user