首页 > 解决方案 > android:filterTouchesWhenObscured="true" 不适用于暮光之城应用

问题描述

我正在测试一个为每个活动android:filterTouchesWhenObscured="true"声明的应用程序。AndroidManifest.xml当我运行覆盖暮光时,我的应用程序仍然有效。有没有人有类似的问题?

我正在使用 Android 6.0 和 8.0 的设备上进行测试,使用和不使用 root,使用两种类型的覆盖进行测试。

<activity 
    android:name=".MainActivity"
    android:filterTouchesWhenObscured="true">
             <intent-filter>
                <action android:name="android.intent.action.MAIN" />

标签: androidsecurityandroid-manifestpenetration-testing

解决方案


android:filterTouchesWhenObscured是您View在布局中应用在 s 上的属性,而不是在清单中的活动上应用。


推荐阅读