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

Commit 5b241102 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Use INVALID_DISPLAY as the display id to test InvalidDisplay scenario" into main

parents 6ea92703 04bd2b5e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -769,7 +769,7 @@ public class AbstractAccessibilityServiceConnectionTest {
        final DisplayManager displayManager = new DisplayManager(mMockContext);
        when(mMockContext.getSystemService(Context.DISPLAY_SERVICE)).thenReturn(displayManager);

        mServiceConnection.takeScreenshot(Display.DEFAULT_DISPLAY + 1,
        mServiceConnection.takeScreenshot(Display.INVALID_DISPLAY,
                new RemoteCallback(mMockListener));
        mHandler.sendLastMessage();