Merge "Default isUserSwitcherEnabled showEvenIfNotActionable" into rvc-dev am: a677e1c6f9 am: 58352e4e66 am: 0efeed6c12

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11829304

Change-Id: Ia89e479d9635a6f9ee6847afb8c32558df407ca9
This commit is contained in:
Adam Bookatz
2020-06-12 01:23:28 +00:00
committed by Automerger Merge Worker

View File

@@ -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);
}
/**