Skip to content

[User Model] Application Focus and Threading#1722

Merged
brismithers merged 1 commit intouser-model/mainfrom
user-model/focus-and-threading
Jan 19, 2023
Merged

[User Model] Application Focus and Threading#1722
brismithers merged 1 commit intouser-model/mainfrom
user-model/focus-and-threading

Conversation

@brismithers
Copy link
Copy Markdown
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