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

Commit f3faf62a authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Root (uid=0) should be core. Fix UserHandle.isCore()." into pi-dev

parents 925a04b7 cbc3ccec
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -158,7 +158,7 @@ public final class UserHandle implements Parcelable {
     * @hide
     */
    public static boolean isCore(int uid) {
        if (uid > 0) {
        if (uid >= 0) {
            final int appId = getAppId(uid);
            return appId < Process.FIRST_APPLICATION_UID;
        } else {