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

Commit b01da9e4 authored by Jason Monk's avatar Jason Monk
Browse files

Fix crash while editing QS

Bug: 27061859
Change-Id: I758bb6b881eadddca1a2e4eaae7b24319e512d14
parent 1aeb31bd
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -25,7 +25,6 @@ import android.support.v7.widget.RecyclerView.State;
import android.support.v7.widget.RecyclerView.ViewHolder;
import android.support.v7.widget.helper.ItemTouchHelper;
import android.view.LayoutInflater;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewGroup;
import android.widget.FrameLayout;
@@ -277,9 +276,6 @@ public class TileAdapter extends RecyclerView.Adapter<Holder> implements TileSta
                    return false;
                }
            }
            if (target.getItemViewType() == TYPE_EDIT && from < mDividerIndex) {
                to++;
            }
            move(from, to, mTiles);
            mDividerIndex = mTiles.indexOf(null);
            notifyItemMoved(from, to);