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

Commit 3a3e2a3c authored by Nathan Harold's avatar Nathan Harold Committed by Automerger Merge Worker
Browse files

Skip a Broken Test For READ_PRECISE_PHONE_STATE am: f5b6d4bd

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/opt/telephony/+/11868243

Change-Id: I951b2cf8f9c90ca6b55f4fd4a18c56b1ad15f3ad
parents ccd05bc5 f5b6d4bd
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -53,6 +53,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;
@@ -373,6 +374,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.