• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

external/koush/Superuser


Commit MetaInfo

Revisiónc59e58dc3cc1c94c6ca0a37f2ee7de66e3021edb (tree)
Tiempo2014-07-20 12:18:30
AutorVeeti Paananen <veeti.paananen@roje...>
CommiterVeeti Paananen

Log Message

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

Cambiar Resumen

Diferencia incremental

--- a/Superuser/res/layout/request.xml
+++ b/Superuser/res/layout/request.xml
@@ -119,6 +119,7 @@
119119 android:layout_height="wrap_content"
120120 android:layout_weight="1"
121121 android:enabled="false"
122+ android:filterTouchesWhenObscured="true"
122123 android:text="@string/allow" />
123124 </LinearLayout>
124125