aboutsummaryrefslogtreecommitdiff
path: root/tests/func/src/com/android/tv/tests/ui/ChannelSourcesTest.java
diff options
context:
space:
mode:
authorNick Chalko <nchalko@google.com>2017-10-03 10:16:37 -0700
committerXin Li <delphij@google.com>2017-10-31 15:39:46 -0700
commit9c40502f7d92098bdec63031af5dca87ead8d405 (patch)
treed31e2adc1f9cce4f27ca07d30bee921032e33a3c /tests/func/src/com/android/tv/tests/ui/ChannelSourcesTest.java
parent8240a88ba4469279d99444bcd08eebdc1c0dc5d8 (diff)
downloadTV-9c40502f7d92098bdec63031af5dca87ead8d405.tar.gz
Sync to match Live Channels 1.15(ncis)
aka ub-tv-dev at a73a150bb7d0d1ce867ef980c6ac8411899d40ad Test: build with support-27.0-dev branch merge Bug: 68345297 Bug: 64021596 Change-Id: I7c544fd15e2c58784f8babc31877ad0dfeebb4c0 (cherry picked from commit 633eb826b8c97731dfc5ef12c7bf78a63734275d)
Diffstat (limited to 'tests/func/src/com/android/tv/tests/ui/ChannelSourcesTest.java')
-rw-r--r--tests/func/src/com/android/tv/tests/ui/ChannelSourcesTest.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/func/src/com/android/tv/tests/ui/ChannelSourcesTest.java b/tests/func/src/com/android/tv/tests/ui/ChannelSourcesTest.java
index e4f612e3..cfa5eda7 100644
--- a/tests/func/src/com/android/tv/tests/ui/ChannelSourcesTest.java
+++ b/tests/func/src/com/android/tv/tests/ui/ChannelSourcesTest.java
@@ -23,6 +23,7 @@ import android.support.test.uiautomator.Until;
import com.android.tv.R;
import com.android.tv.testing.uihelper.ByResource;
+import com.android.tv.testing.uihelper.UiDeviceUtils;
/**
* Tests for channel sources.
@@ -60,8 +61,7 @@ public class ChannelSourcesTest extends LiveChannelsTestCase {
assertWaitForCondition(mDevice, Until.hasObject(mBySettingsSidePanel));
mSidePanelHelper.assertNavigateToItem(R.string.settings_channel_source_item_setup);
- mDevice.pressDPadCenter();
- mDevice.pressDPadCenter();
+ UiDeviceUtils.pressDPadCenter(getInstrumentation(), 2);
assertWaitForCondition(mDevice,
Until.hasObject(ByResource.text(mTargetResources, R.string.setup_sources_text)));