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

Commit 167c6d1c authored by Sarmad Hashmi's avatar Sarmad Hashmi
Browse files

Fix block/unblock crash in call log history tab.

+When long-pressing and then pressing block/unblock in call history tab,
the dialer crashes
+This is because in CallLogListItemViewHolder, the block/unblock dialog
is shown, and after the user confirms, a snackbar is shown. The parent
of this snackbar is a View with the id floating_action_button_container.
The dialtacts_activity.xml has this but the call_log_activity.xml does
not, causing the snackbar to have a null parent view.
+Add floating_action_button_container to the call_log_activity.xml

Fixes: 27976785

Change-Id: I5aa79093a21d7006e989c7ca0095bc7b25a261a5
parent e2c7405c
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -33,4 +33,8 @@
        android:layout_width="match_parent"
        android:layout_height="0dp"
        android:layout_weight="1" />
    <RelativeLayout
        android:id="@+id/floating_action_button_container"
        android:layout_width="0dp"
        android:layout_height="0dp" />
</LinearLayout>