Re-enable AppOpsServiceTest#testShutdown

Bug: 183523911
Test: Ran on sargo-userdebug, 20/20 passes
Change-Id: I31c09a4a4780d69c62a1b08893e08efb01a6bf4f
This commit is contained in:
Erik Wolsheimer
2021-04-27 10:04:24 -07:00
parent 088d1b952c
commit feb30242a7

View File

@@ -62,7 +62,6 @@ import com.android.server.pm.parsing.pkg.AndroidPackage;
import org.junit.After;
import org.junit.Before;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.quality.Strictness;
@@ -223,7 +222,6 @@ public class AppOpsServiceTest {
// Tests that ops are persisted during shutdown.
@Test
@Ignore("b/183523911")
public void testShutdown() {
mAppOpsService.setMode(OP_READ_SMS, mMyUid, sMyPackageName, MODE_ALLOWED);
mAppOpsService.noteOperation(OP_READ_SMS, mMyUid, sMyPackageName, null, false, null, false);