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

Commit aad3482c authored by Makoto Onuki's avatar Makoto Onuki Committed by android-build-merger
Browse files

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

am: f3faf62a

Change-Id: Ie4af59f3892be89adfcdbe9a0cb02e92aab2c8b2
parents 985270a6 f3faf62a
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 {