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

Commit ea8beaa5 authored by Jason Monk's avatar Jason Monk Committed by android-build-merger
Browse files

Merge "Fix QS edit accessibility" into nyc-dev am: c665a3d4

am: ce8c2168

* commit 'ce8c2168':
  Fix QS edit accessibility

Change-Id: I5ed4f1ed340943633d77f28e54518fab3e2116ab
parents 4a0144b6 ce8c2168
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -285,10 +285,11 @@ public class TileAdapter extends RecyclerView.Adapter<Holder> implements TileSta

    private void selectPosition(int position, View v) {
        // Remove the placeholder.
        notifyItemRemoved(mEditIndex);
        mTiles.remove(mEditIndex--);
        mAccessibilityMoving = false;
        move(mAccessibilityFromIndex, position, v);
        mTiles.remove(mEditIndex);
        notifyItemRemoved(mEditIndex - 1);
        updateDividerLocations();
        saveSpecs(mHost);
    }

@@ -321,7 +322,7 @@ public class TileAdapter extends RecyclerView.Adapter<Holder> implements TileSta
        mAccessibilityFromIndex = position;
        // Add placeholder for last slot.
        mTiles.add(mEditIndex++, null);
        notifyItemInserted(mEditIndex - 1);
        notifyDataSetChanged();
    }

    public SpanSizeLookup getSizeLookup() {