Merge "Fix unable to change language" into sc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
4cc4b47adf
@@ -37,7 +37,7 @@ class LocaleRecyclerView extends RecyclerView {
|
||||
|
||||
@Override
|
||||
public boolean onTouchEvent(MotionEvent e) {
|
||||
if (e.getAction() == MotionEvent.ACTION_UP) {
|
||||
if (e.getAction() == MotionEvent.ACTION_UP || e.getAction() == MotionEvent.ACTION_CANCEL) {
|
||||
LocaleDragAndDropAdapter adapter = (LocaleDragAndDropAdapter) this.getAdapter();
|
||||
if (adapter != null) {
|
||||
adapter.doTheUpdate();
|
||||
|
Reference in New Issue
Block a user