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

Commit a66a9efb authored by Riddle Hsu's avatar Riddle Hsu Committed by Android (Google) Code Review
Browse files

Merge "Waiting for test activity to be removed" into main

parents cc65b50c e64eed7d
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -40,8 +40,10 @@ import android.view.WindowManager;
import androidx.test.ext.junit.rules.ActivityScenarioRule;
import androidx.test.platform.app.InstrumentationRegistry;

import com.android.server.wm.utils.CommonUtils;
import com.android.window.flags.Flags;

import org.junit.After;
import org.junit.Before;
import org.junit.Rule;
import org.junit.Test;
@@ -77,6 +79,11 @@ public class TrustedOverlayTests {
        });
    }

    @After
    public void tearDown() {
        CommonUtils.waitUntilActivityRemoved(mActivity);
    }

    @RequiresFlagsDisabled(Flags.FLAG_SURFACE_TRUSTED_OVERLAY)
    @Test
    public void setTrustedOverlayInputWindow() throws InterruptedException {