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

Commit 630fa468 authored by Yorke Lee's avatar Yorke Lee
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 e23b42bd
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -531,7 +531,7 @@ public class CallLogFragment extends ListFragment

        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) {