Refine remove locale warning dialog string
- If the first language is not selected, just remove the body copy else warning user the locale will change to another language. Fixes: 140723349 Test: manual & robotest Change-Id: I9fec17ae85889f2864c3f3cae744f7181e6f9b2c
This commit is contained in:
@@ -251,6 +251,10 @@ class LocaleDragAndDropAdapter
|
||||
return result;
|
||||
}
|
||||
|
||||
boolean isFirstLocaleChecked() {
|
||||
return mFeedItemList != null && mFeedItemList.get(0).getChecked();
|
||||
}
|
||||
|
||||
void addLocale(LocaleStore.LocaleInfo li) {
|
||||
mFeedItemList.add(li);
|
||||
notifyItemInserted(mFeedItemList.size() - 1);
|
||||
|
Reference in New Issue
Block a user