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

Commit d005a5b7 authored by Yunfan Chen's avatar Yunfan Chen
Browse files

Opt out test using hidden API from Ravenwood

The test is using a hidden API, ResourceManager#getDisplayMetrics, to
test the behavior consistency. It will always return a zero value under
ravenwood environment without an override.

The test doesn't fail on real device environment nor cuttlefish
environment.

Test: atest FrameworksCoreTestsRavenwood
Test: atest FrameworksCoreTests#ResourcesManagerTest
Bug: 371502572
Change-Id: Ief8593ab62a46260178df9ec362166bc5c6dc942
parent 2a09810f
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -470,6 +470,7 @@ public class ResourcesManagerTest {

    @Test
    @SmallTest
    @DisabledOnRavenwood(blockedBy = ResourcesManager.class)
    public void testResourceConfigurationAppliedWhenOverrideDoesNotExist() {
        final int width = 240;
        final int height = 360;