From 167c6d1c3621f6be96952daaf0e8e7284bdae252 Mon Sep 17 00:00:00 2001 From: Sarmad Hashmi Date: Wed, 13 Apr 2016 18:14:54 -0700 Subject: 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 --- res/layout/call_log_activity.xml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/res/layout/call_log_activity.xml b/res/layout/call_log_activity.xml index 0109df7d6..aa1a6f44d 100644 --- a/res/layout/call_log_activity.xml +++ b/res/layout/call_log_activity.xml @@ -33,4 +33,8 @@ android:layout_width="match_parent" android:layout_height="0dp" android:layout_weight="1" /> + -- cgit v1.2.3