Merge "Make home-as-up work in UserDictionarySettings"

This commit is contained in:
Amith Yamasani
2012-04-24 13:23:12 -07:00
committed by Android (Google) Code Review

View File

@@ -171,8 +171,11 @@ public class UserDictionarySettings extends ListFragment {
@Override
public boolean onOptionsItemSelected(MenuItem item) {
showAddOrEditDialog(null);
return true;
if (item.getItemId() == OPTIONS_MENU_ADD) {
showAddOrEditDialog(null);
return true;
}
return false;
}
/**