mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-13 19:29:06 +01:00
Use do-not-kill-me-lib
This commit is contained in:
@@ -129,7 +129,7 @@ public class PromoVideoTest extends ScreenshotTest {
|
||||
|
||||
// White-list Doze if needed
|
||||
if (needsDozeWhitelisting(getApplicationContext())) {
|
||||
doClick(withText(R.string.setup_doze_button));
|
||||
doClick(withText(R.string.dnkm_doze_button));
|
||||
UiDevice device = UiDevice.getInstance(getInstrumentation());
|
||||
UiObject allowButton = device.findObject(
|
||||
new UiSelector().className("android.widget.Button")
|
||||
|
||||
@@ -75,7 +75,7 @@ public class SetupDataTest extends ScreenshotTest {
|
||||
|
||||
// White-list Doze if needed
|
||||
if (needsDozeWhitelisting(getApplicationContext())) {
|
||||
onView(withText(R.string.setup_doze_button))
|
||||
onView(withText(R.string.dnkm_doze_button))
|
||||
.check(matches(isDisplayed()))
|
||||
.perform(click());
|
||||
UiDevice device = UiDevice.getInstance(getInstrumentation());
|
||||
|
||||
Reference in New Issue
Block a user