Add confirmation dialog for system locale change.
Bug: b/243511340 Test: atest passed. Change-Id: I7ef4ed4557a1064d078e49a372f11a573b81058a
This commit is contained in:
@@ -40,7 +40,7 @@ class LocaleRecyclerView extends RecyclerView {
|
||||
if (e.getAction() == MotionEvent.ACTION_UP || e.getAction() == MotionEvent.ACTION_CANCEL) {
|
||||
LocaleDragAndDropAdapter adapter = (LocaleDragAndDropAdapter) this.getAdapter();
|
||||
if (adapter != null) {
|
||||
adapter.doTheUpdate();
|
||||
adapter.doTheUpdateWithMovingLocaleItem();
|
||||
}
|
||||
}
|
||||
return super.onTouchEvent(e);
|
||||
|
||||
Reference in New Issue
Block a user