Merge "Make home-as-up work in UserDictionarySettings"
This commit is contained in:
committed by
Android (Google) Code Review
commit
3ec1cd0771
@@ -171,8 +171,11 @@ public class UserDictionarySettings extends ListFragment {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean onOptionsItemSelected(MenuItem item) {
|
public boolean onOptionsItemSelected(MenuItem item) {
|
||||||
showAddOrEditDialog(null);
|
if (item.getItemId() == OPTIONS_MENU_ADD) {
|
||||||
return true;
|
showAddOrEditDialog(null);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user