Android Looper on Gecko thread is only processed while Gecko events are also processed

NEW
Assigned to

Status

()

Firefox for Android
General
6 years ago
6 years ago

People

(Reporter: snorp, Assigned: snorp)

Tracking

Trunk
ARM
Android
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

We have an Android Looper on the Gecko thread, but it is only processed when we have work to do in the normal Gecko loop (see GeckoAppShell::PumpMessageLoop and mozilla::ipc::MessagePump::Run). Looper provides no facility to know when it has work to do, so this is the best we can do right now. The consequence is that Looper tasks are not guaranteed to be run in any reasonable time (or at all).
You need to log in before you can comment on or make changes to this bug.