I have a service running in foreground mode and I\'d like to detect switching between user sessions on tablets running Android 4.2 or above.
Is there any broadcast r
Try ACTION_USER_FOREGROUND and ACTION_USER_BACKGROUND. I have not used them, but they were added in API Level 17, and their description seems like it may help.