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

Commit b84df80a authored by Yorke Lee's avatar Yorke Lee Committed by Divya Sharma
Browse files

Fix ClassCastException in CallLogFragment

Use listview instead of root view as parent when inflating
footer view so that it is always inflated with AbsListView.LayoutParams

Bug: 18762303
Change-Id: If9f5a38017d07d35962881750e2b403aa95287cb
parent 8114de26
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -532,7 +532,7 @@ public class CallLogFragment extends AnalyticsListFragment

        if (mFooterView == null) {
            mFooterView = getActivity().getLayoutInflater().inflate(
                    R.layout.recents_list_footer, (ViewGroup) getView(), false);
                    R.layout.recents_list_footer, getListView(), false);
            mFooterView.setOnClickListener(new OnClickListener() {
                @Override
                public void onClick(View v) {