Merge "QS Edit: Fix up accessibility" into nyc-dev
This commit is contained in:
@@ -286,10 +286,11 @@ public class TileAdapter extends RecyclerView.Adapter<Holder> implements TileSta
|
|||||||
private void selectPosition(int position, View v) {
|
private void selectPosition(int position, View v) {
|
||||||
// Remove the placeholder.
|
// Remove the placeholder.
|
||||||
mAccessibilityMoving = false;
|
mAccessibilityMoving = false;
|
||||||
move(mAccessibilityFromIndex, position, v);
|
mTiles.remove(mEditIndex--);
|
||||||
mTiles.remove(mEditIndex);
|
|
||||||
notifyItemRemoved(mEditIndex - 1);
|
notifyItemRemoved(mEditIndex - 1);
|
||||||
|
move(mAccessibilityFromIndex, position, v);
|
||||||
updateDividerLocations();
|
updateDividerLocations();
|
||||||
|
notifyDataSetChanged();
|
||||||
saveSpecs(mHost);
|
saveSpecs(mHost);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user