aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Wu <85952307+robertwu1@users.noreply.github.com>2023-07-12 14:22:42 -0700
committerGitHub <noreply@github.com>2023-07-12 14:22:42 -0700
commit3bd67fa154ef9ad61c1362dbef1412a9b32362d4 (patch)
treeea7f2178241eb2d91b38c0d7f8c91dc2079d74bd
parent64f8811144101986b4a8781d7b85a68a0f136f13 (diff)
downloadoboe-3bd67fa154ef9ad61c1362dbef1412a9b32362d4.tar.gz
OboeTester: keep data paths tests on (#1851)
-rw-r--r--apps/OboeTester/app/src/main/java/com/mobileer/oboetester/TestDataPathsActivity.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/OboeTester/app/src/main/java/com/mobileer/oboetester/TestDataPathsActivity.java b/apps/OboeTester/app/src/main/java/com/mobileer/oboetester/TestDataPathsActivity.java
index 53b0337c..4d9e75d2 100644
--- a/apps/OboeTester/app/src/main/java/com/mobileer/oboetester/TestDataPathsActivity.java
+++ b/apps/OboeTester/app/src/main/java/com/mobileer/oboetester/TestDataPathsActivity.java
@@ -691,6 +691,8 @@ public class TestDataPathsActivity extends BaseAutoGlitchActivity {
mTestResults.clear();
mDurationSeconds = DURATION_SECONDS;
+ runOnUiThread(() -> keepScreenOn(true));
+
if (mCheckBoxInputPresets.isChecked()) {
runOnUiThread(() -> mCheckBoxInputPresets.setEnabled(false));
testInputPresets();
@@ -706,6 +708,8 @@ public class TestDataPathsActivity extends BaseAutoGlitchActivity {
analyzeTestResults();
+ runOnUiThread(() -> keepScreenOn(false));
+
} catch (InterruptedException e) {
analyzeTestResults();
} catch (Exception e) {