Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 166b5e74 authored by Kshitij's avatar Kshitij
Browse files

fix: Prioritize first-load of model

- When launcher is in foreground, especially with taskbar, it may
  stall/lock the UI thread.
- If the model is in the middle of loading and hasn't ever finished
  loading, it may need the user to navigate to another app or lock the
  device to finish model load, which is terrible UX
- This has worked so far but is a noticeable issue on tablets, and slower
  phones too
- Do not wait for idle and continue scheduling work on the UI thread so
  that the model has fully loaded at least once. After this, it can stall
  all it wants
parent a64b5d62
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment