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

Commit 904b96b1 authored by Charles Chen's avatar Charles Chen Committed by Android (Google) Code Review
Browse files

Merge "Verify bubble overflow with System UI Instumentation" into main

parents 5787fd49 3639086a
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -40,6 +40,8 @@ android_test {
        "flickerlib-trace_processor_shell",
        "flickertestapplib",
        "platform-test-annotations",
        "systemui-tapl",
        "systemui-helper",
        "wm-flicker-common-app-helpers",
        "wm-shell-flicker-utils",
    ],
+3 −0
Original line number Diff line number Diff line
@@ -20,6 +20,7 @@ package com.android.wm.shell.flicker.bubbles.utils

import android.app.Instrumentation
import android.graphics.Point
import android.platform.systemui_tapl.ui.Root
import android.tools.Rotation
import android.tools.device.apphelpers.StandardAppHelper
import android.tools.flicker.rules.ChangeDisplayOrientationRule
@@ -200,6 +201,8 @@ private fun waitAndAssertBubbleAppInExpandedState(
        .withTopVisibleApp(testApp)
        .withBubbleShown()
        .waitForAndVerify()

    Root.get().expandedBubbleStack.verifyBubbleOverflowIsVisible()
}

private fun waitAndAssertBubbleAppInCollapseState(wmHelper: WindowManagerStateHelper) {