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

Commit 9d591c90 authored by Ömer Yaveroğlu's avatar Ömer Yaveroğlu Committed by Gerrit Code Review
Browse files

Merge "Stop evaluating the install requests from package manager and approve...

Merge "Stop evaluating the install requests from package manager and approve all evaluation requests by default." into main
parents 93a6b69a 9b317ef1
Loading
Loading
Loading
Loading
+2 −475

File changed.

Preview size limit exceeded, changes collapsed.

+0 −5
Original line number Diff line number Diff line
@@ -67,10 +67,8 @@ import android.provider.Settings;
import androidx.test.InstrumentationRegistry;

import com.android.internal.R;
import com.android.internal.pm.parsing.PackageParser2;
import com.android.server.compat.PlatformCompat;
import com.android.server.integrity.model.IntegrityCheckResult;
import com.android.server.pm.parsing.TestPackageParser2;
import com.android.server.testutils.TestUtils;

import org.junit.After;
@@ -140,8 +138,6 @@ public class AppIntegrityManagerServiceImplTest {
    @Mock IntegrityFileManager mIntegrityFileManager;
    @Mock Handler mHandler;

    private Supplier<PackageParser2> mParserSupplier = TestPackageParser2::new;

    private final Context mRealContext = InstrumentationRegistry.getTargetContext();

    private PackageManager mSpyPackageManager;
@@ -173,7 +169,6 @@ public class AppIntegrityManagerServiceImplTest {
                new AppIntegrityManagerServiceImpl(
                        mMockContext,
                        mPackageManagerInternal,
                        mParserSupplier,
                        mIntegrityFileManager,
                        mHandler);