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

Commit 600210d7 authored by Adam Bookatz's avatar Adam Bookatz
Browse files

Default isUserSwitcherEnabled showEvenIfNotActionable

In ag/11573771, the default value for isUserSwitcherEnabled() was
put as false, but it was supposed to be true (as it had been
in patch 1 of that cl).

Bug: 157881376
Test: manual
Change-Id: I456e7eb9527dad8da5d5f99ecbfc8bcf40b7bdcc
parent cf2c8428
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -4095,14 +4095,14 @@ public class UserManager {
    }

    /**
     * Returns true if the user switcher should be shown.
     * I.e., returns whether the user switcher is enabled and there is something actionable to show.
     * Returns true if the user switcher is enabled (regardless of whether there is anything
     * interesting for it to show).
     *
     * @return true if user switcher should be shown.
     * @return true if user switcher is enabled
     * @hide
     */
    public boolean isUserSwitcherEnabled() {
        return isUserSwitcherEnabled(false);
        return isUserSwitcherEnabled(true);
    }

    /**