Merge "Remove icon and negative button from dialogs"

main
Tadashi G. Takaoka 2011-07-28 17:39:07 -07:00 committed by Android (Google) Code Review
commit 3782f2bf1e
1 changed files with 0 additions and 4 deletions

View File

@ -2163,8 +2163,6 @@ public class LatinIME extends InputMethodServiceCompatWrapper implements Keyboar
} }
}; };
final AlertDialog.Builder builder = new AlertDialog.Builder(this) final AlertDialog.Builder builder = new AlertDialog.Builder(this)
.setIcon(R.drawable.ic_dialog_keyboard)
.setNegativeButton(android.R.string.cancel, null)
.setItems(items, listener) .setItems(items, listener)
.setTitle(title); .setTitle(title);
showOptionDialogInternal(builder.create()); showOptionDialogInternal(builder.create());
@ -2191,8 +2189,6 @@ public class LatinIME extends InputMethodServiceCompatWrapper implements Keyboar
} }
}; };
final AlertDialog.Builder builder = new AlertDialog.Builder(this) final AlertDialog.Builder builder = new AlertDialog.Builder(this)
.setIcon(R.drawable.ic_dialog_keyboard)
.setNegativeButton(android.R.string.cancel, null)
.setItems(items, listener) .setItems(items, listener)
.setTitle(title); .setTitle(title);
showOptionDialogInternal(builder.create()); showOptionDialogInternal(builder.create());