How to force app to create thumbnail (snapshot) for recent apps list?

╄→гoц情女王★ 提交于 2019-11-29 10:23:22

This is an issue with the OS. Unfortunately, it just doesn't seem to work. If you don't want people looking at your app from the recents for some reason, you can put

getWindow().addFlags(WindowManager.LayoutParams.FLAG_SECURE)

As the first line in your onCreate() method of the activity.

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