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

Commit 0cbd68ab authored by Ryan Mitchell's avatar Ryan Mitchell Committed by Android (Google) Code Review
Browse files

Merge "Translate static test to mutability test"

parents 10aa1716 a31a81ed
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -91,13 +91,13 @@ public class ThemeOverlayManagerTest {
    }

    @Test
    public void testOverlayPackagesForDocumentsUI_shouldBeNonStatic() {
    public void testOverlayPackagesForDocumentsUI_shouldBeMutable() {
        final String docsuiPkgId = mContext.getPackageName();
        final OverlayManager manager = mContext.getSystemService(OverlayManager.class);
        final List<OverlayInfo> infos = manager.getOverlayInfosForTarget(docsuiPkgId, mUserHandle);

        for (OverlayInfo info : infos) {
            assertThat(info.isStatic).isFalse();
            assertThat(info.isMutable).isTrue();
        }
    }