diff --git a/packages/SystemUI/src/com/android/systemui/qs/customize/TileAdapter.java b/packages/SystemUI/src/com/android/systemui/qs/customize/TileAdapter.java index 61a92b468b48f..60c24d095aa75 100644 --- a/packages/SystemUI/src/com/android/systemui/qs/customize/TileAdapter.java +++ b/packages/SystemUI/src/com/android/systemui/qs/customize/TileAdapter.java @@ -286,10 +286,11 @@ public class TileAdapter extends RecyclerView.Adapter implements TileSta private void selectPosition(int position, View v) { // Remove the placeholder. mAccessibilityMoving = false; - move(mAccessibilityFromIndex, position, v); - mTiles.remove(mEditIndex); + mTiles.remove(mEditIndex--); notifyItemRemoved(mEditIndex - 1); + move(mAccessibilityFromIndex, position, v); updateDividerLocations(); + notifyDataSetChanged(); saveSpecs(mHost); }