Merge pull request #934 from TomHennen/fix_testPauseForInterruptions

Fix testPauseForInterruptions
This commit is contained in:
Tom Hennen 2015-06-22 20:07:11 -04:00
commit 5e8c75a1da
1 changed files with 1 additions and 1 deletions

View File

@ -231,7 +231,7 @@ public class PreferencesTest extends ActivityInstrumentationTestCase2<Preference
return pauseForFocusLoss != UserPreferences.shouldPauseForFocusLoss(); return pauseForFocusLoss != UserPreferences.shouldPauseForFocusLoss();
} }
}, Timeout.getLargeTimeout()); }, Timeout.getLargeTimeout());
solo.clickOnText(solo.getString(R.string.pref_auto_delete_title)); solo.clickOnText(solo.getString(R.string.pref_pausePlaybackForFocusLoss_title));
solo.waitForCondition(new Condition() { solo.waitForCondition(new Condition() {
@Override @Override
public boolean isSatisfied() { public boolean isSatisfied() {