Skip to content

Say what the Android user timestamps record - #1307

Merged
abrignoni merged 1 commit into
mainfrom
fix/android-users-timestamp-notes
Sep 4, 2026
Merged

Say what the Android user timestamps record#1307
abrignoni merged 1 commit into
mainfrom
fix/android-users-timestamp-notes

Conversation

@abrignoni

Copy link
Copy Markdown
Owner

Last Entered Foreground in the Android Users artifact is the time the device switched to that user, not app usage. The platform sets it from setLastEnteredForegroundTimeToNow, called for the user being switched to in onUserSwitching and for the system user in onUserStarting.

The note now says that and cites UserManagerService. What sets Last Logged In was not established, so the note reports it as stored rather than describing it.

🤖 Generated with Claude Code

Last Entered Foreground is set when the device switches to that user, not
when an app is used. The platform sets it from
setLastEnteredForegroundTimeToNow, called for the user being switched to in
onUserSwitching and for the system user in onUserStarting. The note now
says so and cites UserManagerService. What sets Last Logged In was not
established, so the note reports it as stored.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@abrignoni
abrignoni merged commit 2294224 into main Sep 4, 2026
10 checks passed
@abrignoni
abrignoni deleted the fix/android-users-timestamp-notes branch September 4, 2026 02:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant