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

Commit 148640e7 authored by Fan Wu's avatar Fan Wu
Browse files

Remove redundant cast

Bug: 313569889
Test: atest
Change-Id: Idad218e3722f29063b6c357139f7120414dea09e
parent c7e0649c
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -677,7 +677,7 @@ public class DashboardFeatureProviderImplTest {
        preference.performClick();

        Intent nextStartedActivity =
                Shadows.shadowOf((Application) mApplication).peekNextStartedActivity();
                Shadows.shadowOf(mApplication).peekNextStartedActivity();
        assertThat(nextStartedActivity).isNotNull();
        assertThat(nextStartedActivity.getAction()).isEqualTo("test");
    }
@@ -704,7 +704,7 @@ public class DashboardFeatureProviderImplTest {
                mActivity.getSupportFragmentManager().findFragmentByTag("select_profile");
        assertThat(dialogFragment).isNotNull();
        Intent nextStartedActivity =
                Shadows.shadowOf((Application) mApplication).peekNextStartedActivity();
                Shadows.shadowOf(mApplication).peekNextStartedActivity();
        assertThat(nextStartedActivity).isNull();
    }