Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ecda9213 authored by David Liu's avatar David Liu
Browse files

Add touch filtering for Top Intro Preference

- Adds touch filtering for the Top Intro Preference. This makes
the preference not clickable when it's obscured by other windows.

HIGH_LEVEL_CL_EXPLANATION:
- Tapjacking is currently possible on the TopIntroPreference. Set android:filterTouchesWhenObscured to true to mitigate. (See: https://developer.android.com/privacy-and-security/risks/tapjacking)

Bug: 391457154 
Change-Id: I7bcb72d9387d2ad88eb34c0c8cbca8f48bd6537d
Flag: EXEMPT library
Test: atest & manual
parent 1f19b3d2
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -18,7 +18,8 @@
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:paddingEnd="?android:attr/listPreferredItemPaddingEnd"
    android:paddingStart="?android:attr/listPreferredItemPaddingStart">
    android:paddingStart="?android:attr/listPreferredItemPaddingStart"
    android:filterTouchesWhenObscured="true">

    <com.android.settingslib.widget.CollapsableTextView
        android:id="@+id/collapsable_text_view"