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

Commit 25b86cca authored by Jason Monk's avatar Jason Monk Committed by Android (Google) Code Review
Browse files

Merge "Fix crash while editing QS" into nyc-dev

parents c523dc1f b01da9e4
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);