Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6269ac83 authored by Alex Florescu's avatar Alex Florescu
Browse files

Fix test when running on large screen devices

Fixes: 195651761
Test: atest SystemUITests:NavigationBarControllerTest
Change-Id: I3e148c9bba5d980c05f01e720e411eeb4473c66a
parent a44fcb0d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -116,7 +116,7 @@ public class NavigationBarController implements Callbacks,
    private final TaskbarDelegate mTaskbarDelegate;
    private final NotificationShadeDepthController mNotificationShadeDepthController;
    private int mNavMode;
    private boolean mIsTablet;
    @VisibleForTesting boolean mIsTablet;
    private final UserTracker mUserTracker;

    /** A displayId - nav bar maps. */
+2 −0
Original line number Diff line number Diff line
@@ -142,6 +142,8 @@ public class NavigationBarControllerTest extends SysuiTestCase {

    @Test
    public void testCreateNavigationBarsIncludeDefaultTrue() {
        // Tablets may be using taskbar and the logic is different
        mNavigationBarController.mIsTablet = false;
        doNothing().when(mNavigationBarController).createNavigationBar(any(), any(), any());

        mNavigationBarController.createNavigationBars(true, null);