Sample Header Ad - 728x90

Way to switch between users via shortcut/intent/activity?

0 votes
0 answers
1499 views
I have a device with MIUI 13, that removed (hid) the Android stock multi-user feature that I need. I recalled the activity to show the multi-user feature in settings via shortcut maker (adding accounts works normally), but unfortunately, the lock screen UI doesn't show the switch user shortcuts. So, the only way to switch is to enter in multi-user menu and choose one, but with a PIN-protected device, it's not applicable. Then I need a way to "programmatically" switch to a user with an intent/activity (sorry, I never developed on Android, some concept is not too clear at this time), exactly how to the Android stock lock screen UI does. Having a way to do that in this way, I can place a quick setting tile to achieve my target. Someone can push me in the right way?
Asked by ExTrEmE (1 rep)
Jul 26, 2022, 12:48 PM
Last activity: Jul 27, 2022, 02:43 AM