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

Commit 27cd93e6 authored by Alex Florescu's avatar Alex Florescu Committed by Automerger Merge Worker
Browse files

Merge "Fix test when running on large screen devices" into sc-v2-dev am: 9ff10b86

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15472904

Change-Id: I7f40327a507d1dc1c9818077f717296f1e568e5c
parents 66baecb0 9ff10b86
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);