Remove icon and negative button from dialogs

Bug: 5092028
Change-Id: I25b86c6e74e380e6cee4998bfe494bdafb611f36
main
Tadashi G. Takaoka 2011-07-28 13:49:57 -07:00
parent 0a5345c7b6
commit e4b445f1ce
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());