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

Commit 045ae6da authored by Guang Zhu's avatar Guang Zhu Committed by Android (Google) Code Review
Browse files

Merge "adapt package manager presubmit test to GlobalPresubmit annotation"

parents ec30d6e1 a78fe62f
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -20,7 +20,7 @@ import android.content.Context;
import android.content.pm.PackageInfo;
import android.content.pm.PackageManager;
import android.content.pm.PermissionInfo;
import android.platform.test.annotations.Presubmit;
import android.platform.test.annotations.GlobalPresubmit;
import android.support.test.InstrumentationRegistry;
import android.support.test.filters.SmallTest;
import android.support.test.runner.AndroidJUnit4;
@@ -63,7 +63,7 @@ public class PackageManagerPresubmitTest {
     */
    @Test
    @SmallTest
    @Presubmit
    @GlobalPresubmit
    public void testPrivAppPermissions() throws PackageManager.NameNotFoundException {
        List<PackageInfo> installedPackages = mPackageManager
                .getInstalledPackages(PackageManager.MATCH_UNINSTALLED_PACKAGES | GET_PERMISSIONS);