mirror of
https://github.com/iSoron/uhabits.git
synced 2025-12-06 17:18:52 -06:00
Use Nexus 4 screen size in build.sh; adjust BackupSteps accordingly
This commit is contained in:
2
build.sh
2
build.sh
@@ -176,7 +176,7 @@ create_avd() {
|
|||||||
$AVDMANAGER create avd \
|
$AVDMANAGER create avd \
|
||||||
--name $AVDNAME \
|
--name $AVDNAME \
|
||||||
--package "system-images;android-$API;default;x86_64" \
|
--package "system-images;android-$API;default;x86_64" \
|
||||||
--device pixel_xl || fail
|
--device "Nexus 4" || fail
|
||||||
}
|
}
|
||||||
|
|
||||||
wait_for_device() {
|
wait_for_device() {
|
||||||
|
|||||||
@@ -50,7 +50,7 @@ fun copyBackupToDownloadFolder() {
|
|||||||
fun importBackupFromDownloadFolder() {
|
fun importBackupFromDownloadFolder() {
|
||||||
clickMenu(SETTINGS)
|
clickMenu(SETTINGS)
|
||||||
clickText("Import data")
|
clickText("Import data")
|
||||||
device.click(100, 180) // Click menu button
|
device.click(50, 90) // Click menu button
|
||||||
device.findObject(UiSelector().textContains("Download")).click()
|
device.findObject(UiSelector().textContains("Download")).click()
|
||||||
device.findObject(UiSelector().textContains("Loop")).click()
|
device.findObject(UiSelector().textContains("Loop")).click()
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user