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

Commit 80c031b1 authored by Zak Cohen's avatar Zak Cohen Committed by Android (Google) Code Review
Browse files

Merge "Fix build - tests for screenshot helper not updated." into rvc-dev

parents 0eadc171 7b9edacc
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -29,11 +29,12 @@ import static org.mockito.Mockito.doNothing;
import static org.mockito.Mockito.doReturn;
import static org.mockito.Mockito.mock;

import android.content.ComponentName;
import android.content.Context;
import android.content.res.Resources;
import android.graphics.Bitmap;
import android.graphics.Insets;
import android.graphics.Rect;
import android.os.Bundle;
import android.os.Handler;
import android.os.Looper;
import android.view.WindowManager;
@@ -91,8 +92,7 @@ public final class ScreenshotHelperTest {
    @Test
    public void testProvidedImageScreenshot() {
        mScreenshotHelper.provideScreenshot(
                Bitmap.createBitmap(10, 10, Bitmap.Config.ARGB_8888), new Rect(),
                Insets.of(0, 0, 0, 0), 1,
                new Bundle(), new Rect(), Insets.of(0, 0, 0, 0), 1, 1, new ComponentName("", ""),
                WindowManager.ScreenshotSource.SCREENSHOT_OTHER, mHandler, null);
    }