From cc960377acb6b697f1b7fbaff3b40374c380acd6 Mon Sep 17 00:00:00 2001 From: Joe Farebrother Date: Wed, 16 Nov 2022 10:53:40 +0000 Subject: [PATCH] Apply suggestion from docs review Co-authored-by: Sam Browning <106113886+sabrowning1@users.noreply.github.com> --- java/ql/src/Security/CWE/CWE-524/SensitiveKeyboardCache.qhelp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java/ql/src/Security/CWE/CWE-524/SensitiveKeyboardCache.qhelp b/java/ql/src/Security/CWE/CWE-524/SensitiveKeyboardCache.qhelp index 6b0b5eb96f6..7a16bbd6f80 100644 --- a/java/ql/src/Security/CWE/CWE-524/SensitiveKeyboardCache.qhelp +++ b/java/ql/src/Security/CWE/CWE-524/SensitiveKeyboardCache.qhelp @@ -10,7 +10,7 @@

For input fields expected to accept sensitive information, use input types such as "textNoSuggestions" (or "textPassword" for a password) to ensure the input does not get stored in the keyboard cache.

-

The input type can also be set in code through TextView.setInputType() rather than declared through XML.

+

Optionally, instead of declaring an input type through XML, you can set the input type in your code using TextView.setInputType().