aboutsummaryrefslogtreecommitdiff
path: root/tests/func/src/com/android/tv/tests/ui/LiveChannelsTestCase.java
diff options
context:
space:
mode:
Diffstat (limited to 'tests/func/src/com/android/tv/tests/ui/LiveChannelsTestCase.java')
-rw-r--r--tests/func/src/com/android/tv/tests/ui/LiveChannelsTestCase.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/func/src/com/android/tv/tests/ui/LiveChannelsTestCase.java b/tests/func/src/com/android/tv/tests/ui/LiveChannelsTestCase.java
index 25c7909b..e306e6c6 100644
--- a/tests/func/src/com/android/tv/tests/ui/LiveChannelsTestCase.java
+++ b/tests/func/src/com/android/tv/tests/ui/LiveChannelsTestCase.java
@@ -73,6 +73,8 @@ public abstract class LiveChannelsTestCase extends InstrumentationTestCase {
.hasObject(Constants.PROGRAM_GUIDE)) {
mDevice.pressBack();
}
+ // To destroy the activity to make sure next test case's activity launch check works well.
+ mDevice.pressBack();
super.tearDown();
}