diff options
author | Sarmad Hashmi <mhashmi@google.com> | 2016-04-13 18:14:54 -0700 |
---|---|---|
committer | Brandon Maxwell <maxwelb@google.com> | 2016-09-09 18:12:41 +0000 |
commit | 90221588e1d8e3fd3b2215d27471890de359a779 (patch) | |
tree | 29ff1a2e588f3dd081ff18c6dcf42fcd5406dfc6 /res | |
parent | f2d4bc9098e8280dd8b9ed77d32a867ded6c85c8 (diff) |
[DO NOT MERGE] 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
Fixes: 31361083
Change-Id: I5aa79093a21d7006e989c7ca0095bc7b25a261a5
(cherry picked from commit 167c6d1c3621f6be96952daaf0e8e7284bdae252)
Diffstat (limited to 'res')
-rw-r--r-- | res/layout/call_log_activity.xml | 4 |
1 files changed, 4 insertions, 0 deletions
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" /> + <RelativeLayout + android:id="@+id/floating_action_button_container" + android:layout_width="0dp" + android:layout_height="0dp" /> </LinearLayout> |