commit | 5eb87ae6ed744f0e1652cfc188d8c897d00fa09d | [log] [tgz] |
---|---|---|
author | Anita Lin <anitalin@google.com> | Thu Aug 01 10:23:13 2019 +0800 |
committer | Anita Lin <anitalin@google.com> | Fri Aug 02 20:34:22 2019 +0800 |
tree | ad3b3f68e60328b972df305042391217d100553c | |
parent | 99bff24a30a5f941d7a1fe4fa4bf761afc22ddea [diff] |
Make pass button enabled with all camera combinations are done Bug: 138743338 Test: manual test Change-Id: Ide65175ed1c2a56aca24dc85f81d650649f36c47
diff --git a/apps/CtsVerifier/src/com/android/cts/verifier/camera/video/CameraVideoActivity.java b/apps/CtsVerifier/src/com/android/cts/verifier/camera/video/CameraVideoActivity.java index e8bdcc7..3904f09 100644 --- a/apps/CtsVerifier/src/com/android/cts/verifier/camera/video/CameraVideoActivity.java +++ b/apps/CtsVerifier/src/com/android/cts/verifier/camera/video/CameraVideoActivity.java
@@ -545,7 +545,8 @@ mUntestedCombinations.remove(combination); mTestedCombinations.add(combination); - if (mUntestedCombinations.isEmpty()) { + if (mUntestedCombinations.isEmpty() && + mUntestedCameras.isEmpty()) { mPassButton.setEnabled(true); if (VERBOSE) { Log.v(TAG, "run: test success");