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

Commit a228a73a authored by Chris Poultney's avatar Chris Poultney Committed by Android (Google) Code Review
Browse files

Merge "Fixes mock usage error"

parents c6a55488 4132d0ca
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -315,7 +315,8 @@ public class WallpaperManagerServiceTests {

        spyOn(mService.mWallpaperDisplayHelper);
        doReturn(true).when(mService.mWallpaperDisplayHelper)
                .isUsableDisplay(any(Display.class), mService.mLastWallpaper.connection.mClientUid);
                .isUsableDisplay(any(Display.class),
                        eq(mService.mLastWallpaper.connection.mClientUid));
        mService.mLastWallpaper.connection.attachEngine(mock(IWallpaperEngine.class),
                DEFAULT_DISPLAY);