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

Commit c9af2bc3 authored by Patrick Baumann's avatar Patrick Baumann Committed by Android (Google) Code Review
Browse files

Merge "Use my uid to filter application info" into sc-dev

parents c2049abd 528308d4
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -36,6 +36,7 @@ import android.content.pm.PackageManagerInternal;
import android.net.Uri;
import android.os.Binder;
import android.os.Build;
import android.os.Process;
import android.os.RemoteException;
import android.os.UserHandle;
import android.util.Slog;
@@ -359,7 +360,7 @@ public class PlatformCompat extends IPlatformCompat.Stub {

    private ApplicationInfo getApplicationInfo(String packageName, int userId) {
        return LocalServices.getService(PackageManagerInternal.class).getApplicationInfo(
                packageName, 0, userId, userId);
                packageName, 0, Process.myUid(), userId);
    }

    private void killPackage(String packageName) {