Merge "QS Edit: Fix up accessibility" into nyc-dev
am: c4b6e2a184
* commit 'c4b6e2a1849690a7f8dfa3be75ee84f1453f8224':
QS Edit: Fix up accessibility
Change-Id: Id83e89c55111b47de3fd641056d06db77c9b9006
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