Skip to content

Commit

Permalink
Setting filterTouchesWhenObscured parameter to true on add user butto…
Browse files Browse the repository at this point in the history
…n in order to prevent potential tapjacking attacks

https://blog.devknox.io/tapjacking-android-prevent/
  • Loading branch information
jahudzik committed Oct 7, 2017
1 parent 7f75373 commit cd5bfb4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/src/main/res/layout/activity_add_user.xml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@
android:layout_height="100dp"
android:layout_below="@id/nickLayout"
android:layout_margin="10dp"
android:filterTouchesWhenObscured="true"
android:text="@string/add_user"
/>

</RelativeLayout>
</RelativeLayout>

0 comments on commit cd5bfb4

Please sign in to comment.