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

Commit 3e093088 authored by Nathan Harold's avatar Nathan Harold Committed by Gerrit Code Review
Browse files

Merge "Skip a Broken Test For READ_PRECISE_PHONE_STATE"

parents a2b25c93 4cb1563f
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -52,6 +52,7 @@ import com.android.server.TelephonyRegistry;

import org.junit.After;
import org.junit.Before;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.Mock;
@@ -370,6 +371,10 @@ public class TelephonyRegistryTest extends TelephonyTest {
    /**
     * Test listen to events that require READ_PRECISE_PHONE_STATE permission.
     */
    // FIXME(b/159082270) - Simply not granting location permission doesn't fix the test because
    // Location is soft-denied to apps that aren't in the foreground, and soft-denial currently
    // short-circuits the test.
    @Ignore("Skip due to b/159082270")
    @Test
    public void testReadPrecisePhoneStatePermission() {
        // Clear all permission grants for test.