问题
I am adding the following flag to my app:
getWindow().addFlags(WindowManager.LayoutParams.FLAG_SECURE);
Sadly the keyboard is still visible and I can still see what the user is inputting when I watch thew playback of the screen recording.
Any idea, how I can stop to the keyboard being captured?
Edit: I don't want to hide the soft keyboard as the user has to enter private information in text fields.
来源:https://stackoverflow.com/questions/41718825/not-show-keyboard-capture-with-window-flag-flag-secure