Backed out changeset 4ae3d82562fa (bug 934646) Android Nighly Build Bustage

This commit is contained in:
Carsten "Tomcat" Book 2013-11-20 15:16:17 +01:00
Родитель b35c0e3a73
Коммит 56cce399d2
1 изменённых файлов: 1 добавлений и 4 удалений

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

@ -21,9 +21,6 @@ public class testReaderMode extends AboutHomeTest {
static final int EVENT_CLEAR_DELAY_MS = 3000;
static final int READER_ICON_MAX_WAIT_MS = 15000;
// IDs for UI views.
private static final String PAGE_ACTION_LAYOUT_ID = "page_action_layout";
@Override
protected int getTestType() {
return TEST_MOCHITEST;
@ -156,7 +153,7 @@ public class testReaderMode extends AboutHomeTest {
// Get the reader icon method
protected View getReaderIcon() {
View pageActionLayout = mSolo.getView(PAGE_ACTION_LAYOUT_ID);
View pageActionLayout = mSolo.getView(0x7f070025);
final ViewGroup actionLayoutEntry = (ViewGroup)pageActionLayout;
View icon = actionLayoutEntry.getChildAt(1);
if (icon == null || icon.getVisibility() != View.VISIBLE) {