Bug 946352 - Remove go button workaround in ToolbarComponent.commitEditingMode. r=mcomella

This commit is contained in:
Sebastian Kaspari 2014-02-05 17:14:17 -05:00
Родитель 6fa77d9265
Коммит 6188945f08
1 изменённых файлов: 1 добавлений и 7 удалений

Просмотреть файл

@ -132,13 +132,7 @@ public class ToolbarComponent extends BaseComponent {
WaitHelper.waitForPageLoad(new Runnable() {
@Override
public void run() {
if (InputMethods.shouldDisableUrlBarUpdate(mActivity)) {
// Bug 945521 workaround: Some IMEs do not allow the go button
// to be displayed in the toolbar so we hit enter instead.
mSolo.sendKey(Solo.ENTER);
} else {
mSolo.clickOnView(getGoButton());
}
mSolo.clickOnView(getGoButton());
}
});
waitForNotEditing();