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

Commit c299543b authored by Cherie Cheung's avatar Cherie Cheung Committed by Android (Google) Code Review
Browse files

Merge "UserInfo.isDemo() to also check UserInfo.FLAG_DEMO"

parents 9c25216c 3667b31a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -343,7 +343,7 @@ public class UserInfo implements Parcelable {
    }

    public boolean isDemo() {
        return UserManager.isUserTypeDemo(userType);
        return UserManager.isUserTypeDemo(userType) || (flags & FLAG_DEMO) != 0;
    }

    public boolean isFull() {