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

Commit 43c4fd65 authored by Android Build Merger (Role)'s avatar Android Build Merger (Role) Committed by Android (Google) Code Review
Browse files

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

Merge "Merge "Fix QS edit accessibility" into nyc-dev am: c665a3d4 am: 09ed0764" into nyc-mr1-dev-plus-aosp
parents 2faa65d3 09df93ed
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() {