summaryrefslogtreecommitdiffstats
path: root/tests/src/com/android/dialer/widget/ActionBarControllerTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'tests/src/com/android/dialer/widget/ActionBarControllerTest.java')
-rw-r--r--tests/src/com/android/dialer/widget/ActionBarControllerTest.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/src/com/android/dialer/widget/ActionBarControllerTest.java b/tests/src/com/android/dialer/widget/ActionBarControllerTest.java
index 919a07bac..c67ea35aa 100644
--- a/tests/src/com/android/dialer/widget/ActionBarControllerTest.java
+++ b/tests/src/com/android/dialer/widget/ActionBarControllerTest.java
@@ -114,14 +114,14 @@ public class ActionBarControllerTest extends InstrumentationTestCase {
public void testOnSearchUiExited() {
// ActionBar shown previously before entering searchUI
mSearchBox.expand(true, false);
- mSearchBox.makeInvisible();
+ mSearchBox.setVisible(false);
mActivityUi.shouldShowActionBar = true;
mActionBarController.onSearchUiExited();
assertActionBarState(false, false, false);
// ActionBar slid up previously before entering searchUI
mSearchBox.collapse(false);
- mSearchBox.makeInvisible();
+ mSearchBox.setVisible(false);
mActivityUi.shouldShowActionBar = false;
mActionBarController.onSearchUiExited();
assertActionBarState(false, false, true);