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

Commit 6180273e authored by Alina Zaidi's avatar Alina Zaidi Committed by Android (Google) Code Review
Browse files

Merge "Use equals() to compare UserHandle when building LauncherAtom#ItemInfo." into sc-v2-dev

parents a8a51394 08c3e8f5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -373,7 +373,7 @@ public class ItemInfo {

    protected LauncherAtom.ItemInfo.Builder getDefaultItemInfoBuilder() {
        LauncherAtom.ItemInfo.Builder itemBuilder = LauncherAtom.ItemInfo.newBuilder();
        itemBuilder.setIsWork(user != Process.myUserHandle());
        itemBuilder.setIsWork(!Process.myUserHandle().equals(user));
        return itemBuilder;
    }