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

Unverified Commit dcd2371c authored by nift4's avatar nift4 Committed by Michael Bestas
Browse files

DocumentsUI: fix crash in desktop/tablet mode when selecting files

The item_doc_list.xml in res/layout uses local-scoped R.id.icon, but the
tablet variant uses android.R.id.icon, which causes findViewById() to
return null and causes NPE in DocumentsUI.

Change-Id: I56871a994dd33dbbee4577ce744cc704568aefc2
parent 08a1d707
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -34,7 +34,7 @@
        android:orientation="horizontal" >

        <FrameLayout
            android:id="@android:id/icon"
            android:id="@+id/icon"
            android:pointerIcon="hand"
            android:layout_width="@dimen/list_item_width"
            android:layout_height="@dimen/list_item_height"