Skip to content

[User Model] Application Focus and Threading #1722

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 19, 2023

Conversation

brismithers
Copy link
Contributor

@brismithers brismithers commented Jan 18, 2023

  • Update ApplicationService to more accurately detect when the app goes in/out of focus
  • Always switch to main thread for RequestPermission calls, to ensure that (1) a suspend occurs and (2) any UI operations happen on the main thread.

This change is Reviewable

* Update ApplicationService to more accurately detect when the app goes in/out of focus
* Always switch to main thread for RequestPermission calls, to ensure that (1) a suspend occurs and (2) any UI operations happen on the main thread.
@brismithers brismithers merged commit 5b434fd into user-model/main Jan 19, 2023
@brismithers brismithers deleted the user-model/focus-and-threading branch January 19, 2023 16:59
jinliu9508 pushed a commit that referenced this pull request Jan 31, 2024
[User Model] Application Focus and Threading
jinliu9508 pushed a commit that referenced this pull request Jan 31, 2024
[User Model] Application Focus and Threading
jinliu9508 pushed a commit that referenced this pull request Feb 6, 2024
[User Model] Application Focus and Threading
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