mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-27 15:26:58 +00:00
Add a test for stashed bubble bar
This change introduces a new test protocol event for unstashing the bubble bar. It's not possible to do this via a UI event because the stashed handle is only visible when an app is in the foreground, but in that state none of the elements in TaskbarDragLayer are visible to accessbility. Flag: LEGACY persist.wm.debug.bubble_bar DISABLED Bug: 273994695 Test: atest PlatformScenarioTests:android.platform.test.scenario.sysui.bubble.BubbleBarTest Change-Id: I4581bf95b07691429966ecbd573232047f820b69
This commit is contained in:
@@ -172,6 +172,9 @@ public final class TestProtocol {
|
||||
|
||||
public static final String REQUEST_FLAG_ENABLE_GRID_ONLY_OVERVIEW = "enable-grid-only-overview";
|
||||
|
||||
public static final String REQUEST_UNSTASH_BUBBLE_BAR_IF_STASHED =
|
||||
"unstash-bubble-bar-if-stashed";
|
||||
|
||||
/** Logs {@link Log#d(String, String)} if {@link #sDebugTracing} is true. */
|
||||
public static void testLogD(String tag, String message) {
|
||||
if (!sDebugTracing) {
|
||||
|
||||
Reference in New Issue
Block a user