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

Commit 574829ca authored by Olivier Nshimiye's avatar Olivier Nshimiye Committed by Android (Google) Code Review
Browse files

Merge "Update the RootInfo of the state when we update the 'initialUser'" into main

parents 44e94f65 1ad3c21d
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -956,6 +956,10 @@ public abstract class AbstractActionHandler<T extends FragmentActivity & CommonA
                        && !allowedUsers.isEmpty()) {
                    // start with the next available user. This could be any user.
                    initialUser = allowedUsers.get(0);

                    RootInfo newRoot = RootInfo.copyRootInfo(mState.stack.getRoot());
                    newRoot.userId = initialUser;
                    mState.stack.changeRoot(newRoot);
                }
            }