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

Commit 22a21d24 authored by Jiakai Zhang's avatar Jiakai Zhang
Browse files

Skip BackgroundDexOptServiceIntegrationTests.

Skip it when ART Service is enabled.

Bug: 272053358
Change-Id: I7b100dfed5f0f7d34026c6ddcd07933410b03a7a
Test: N/A
parent ae3f0067
Loading
Loading
Loading
Loading
+3 −0
Original line number Original line Diff line number Diff line
@@ -16,6 +16,8 @@


package com.android.server.pm;
package com.android.server.pm;


import static org.junit.Assume.assumeFalse;

import android.app.AlarmManager;
import android.app.AlarmManager;
import android.content.Context;
import android.content.Context;
import android.os.Environment;
import android.os.Environment;
@@ -112,6 +114,7 @@ public final class BackgroundDexOptServiceIntegrationTests {


    @Before
    @Before
    public void setUp() throws IOException {
    public void setUp() throws IOException {
        assumeFalse(SystemProperties.getBoolean("dalvik.vm.useartservice", false));
        File dataDir = getContext().getDataDir();
        File dataDir = getContext().getDataDir();
        mBigFile = new File(dataDir, BIG_FILE);
        mBigFile = new File(dataDir, BIG_FILE);
    }
    }