TYPE_SYSTEM_OVERLAY在ICS [英] TYPE_SYSTEM_OVERLAY in ICS
问题描述
在蜂巢我能够创建TYPE_SYSTEM_OVERLAY系统的覆盖和接收触摸与FLAG_WATCH_OUTSIDE_TOUCH。
In Honeycomb I was able to create a system overlay with TYPE_SYSTEM_OVERLAY and receive touches with FLAG_WATCH_OUTSIDE_TOUCH.
现在ICS已经改变了一些东西。我仍然可以创建系统覆盖,但我不能得到触动。
Now ICS has changed something. I can still create the system overlay, but i can't get touches.
现在,我能够与TYPE_SYSTEM_ALERT创建相同的,并得到触动,但它只是抓住了touchevents,而不是通过他们就像在蜂窝。
Now, i am able to create the same with TYPE_SYSTEM_ALERT and get touches, but it just catches the touchevents, and not passing them on like in Honeycomb.
任何想法的?
亲切的问候
推荐答案
您所描述的一切都是真实的。这是presumably加强安全性,因为前者的行为是tapjacking攻击的来源。我写一个博客帖子最近这一变化。
Everything you describe is true. It is presumably to tighten up security, as the former behavior was the source of tapjacking attacks. I wrote a blog post recently about this change.
任何想法的?
不要使用其中任一。
这篇关于TYPE_SYSTEM_OVERLAY在ICS的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!