Loading quickstep/tests/src/com/android/quickstep/TaskAnimationManagerTest.java +3 −3 Original line number Diff line number Diff line Loading @@ -16,7 +16,7 @@ package com.android.quickstep; import static org.junit.Assert.assertTrue; import static org.junit.Assert.assertEquals; import static org.junit.Assume.assumeTrue; import static org.mockito.ArgumentMatchers.any; import static org.mockito.Mockito.doReturn; Loading Loading @@ -71,7 +71,7 @@ public class TaskAnimationManagerTest { final ArgumentCaptor<ActivityOptions> optionsCaptor = ArgumentCaptor.forClass(ActivityOptions.class); verify(mSystemUiProxy).startRecentsActivity(any(), optionsCaptor.capture(), any()); assertTrue(optionsCaptor.getValue() .isPendingIntentBackgroundActivityLaunchAllowedByPermission()); assertEquals(ActivityOptions.MODE_BACKGROUND_ACTIVITY_START_ALLOW_ALWAYS, optionsCaptor.getValue().getPendingIntentBackgroundActivityStartMode()); } } Loading
quickstep/tests/src/com/android/quickstep/TaskAnimationManagerTest.java +3 −3 Original line number Diff line number Diff line Loading @@ -16,7 +16,7 @@ package com.android.quickstep; import static org.junit.Assert.assertTrue; import static org.junit.Assert.assertEquals; import static org.junit.Assume.assumeTrue; import static org.mockito.ArgumentMatchers.any; import static org.mockito.Mockito.doReturn; Loading Loading @@ -71,7 +71,7 @@ public class TaskAnimationManagerTest { final ArgumentCaptor<ActivityOptions> optionsCaptor = ArgumentCaptor.forClass(ActivityOptions.class); verify(mSystemUiProxy).startRecentsActivity(any(), optionsCaptor.capture(), any()); assertTrue(optionsCaptor.getValue() .isPendingIntentBackgroundActivityLaunchAllowedByPermission()); assertEquals(ActivityOptions.MODE_BACKGROUND_ACTIVITY_START_ALLOW_ALWAYS, optionsCaptor.getValue().getPendingIntentBackgroundActivityStartMode()); } }