Add confirmation dialog for system locale change.

Bug: b/243511340
Test: atest passed.
Change-Id: I7ef4ed4557a1064d078e49a372f11a573b81058a
This commit is contained in:
tom hsu
2023-03-03 20:00:27 +08:00
parent ae2c14a039
commit 04eae5cc60
7 changed files with 484 additions and 13 deletions

View File

@@ -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);