external/koush/Superuser
Revision | c59e58dc3cc1c94c6ca0a37f2ee7de66e3021edb (tree) |
---|---|
Time | 2014-07-20 12:18:30 |
Author | Veeti Paananen <veeti.paananen@roje...> |
Commiter | Veeti Paananen |
Prevent clickjacking of superuser requests
Enable filterTouchesWhenObscured on the accept request button to prevent
possible clickjacking attacks. This is a measure used in many sensitive
dialogs (app installation, backup & VPN) in AOSP.
Change-Id: I33c18c449c909b97b29b981bffe7f3095adee506
@@ -119,6 +119,7 @@ | ||
119 | 119 | android:layout_height="wrap_content" |
120 | 120 | android:layout_weight="1" |
121 | 121 | android:enabled="false" |
122 | + android:filterTouchesWhenObscured="true" | |
122 | 123 | android:text="@string/allow" /> |
123 | 124 | </LinearLayout> |
124 | 125 |