Merge pull request #934 from TomHennen/fix_testPauseForInterruptions
Fix testPauseForInterruptions
This commit is contained in:
commit
5e8c75a1da
|
@ -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() {
|
||||||
|
|
Loading…
Reference in New Issue