Not show keyboard capture with window flag FLAG_SECURE

自闭症网瘾萝莉.ら 提交于 2021-02-07 03:33:40

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!