Backed out changeset 66cc38d90f25 (bug 1112397) for making testSettingsMenuItems permafail on Android 4.0.

This commit is contained in:
Ryan VanderMeulen 2014-12-17 14:34:21 -05:00
Родитель 0c1a4cb368
Коммит 6c2791a445
1 изменённых файлов: 2 добавлений и 3 удалений

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

@ -258,9 +258,8 @@ public class testSettingsMenuItems extends PixelTest {
}
}
// Navigate back if on a phone or small tablets. Large tablets
// shouldn't do this because they use headers and fragments.
if (mDevice.type.equals("phone") || HardwareUtils.isSmallTablet()) {
// Navigate back if on a phone. Tablets shouldn't do this because they use headers and fragments.
if (mDevice.type.equals("phone")) {
int menuDepth = menuPath.length;
while (menuDepth > 0) {
mActions.sendSpecialKey(Actions.SpecialKey.BACK);