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

Commit fcd46027 authored by Yorke Lee's avatar Yorke Lee Committed by Android Git Automerger
Browse files

am 56493453: Fix another bug with RTL tabs

* commit '56493453':
  Fix another bug with RTL tabs
parents b9618446 56493453
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -182,6 +182,11 @@ public class ListsFragment extends AnalyticsFragment implements CallLogQueryHand
            super(fm);
        }

        @Override
        public long getItemId(int position) {
            return getRtlPosition(position);
        }

        @Override
        public Fragment getItem(int position) {
            switch (getRtlPosition(position)) {
@@ -206,7 +211,7 @@ public class ListsFragment extends AnalyticsFragment implements CallLogQueryHand
            // Copy the fragments that the FragmentManager finds so that we can store them in
            // instance variables for later.
            final Fragment fragment =
                    (Fragment) super.instantiateItem(container, getRtlPosition(position));
                    (Fragment) super.instantiateItem(container, position);
            if (fragment instanceof SpeedDialFragment) {
                mSpeedDialFragment = (SpeedDialFragment) fragment;
            } else if (fragment instanceof CallLogFragment) {