Closed
Bug 1570383
Opened 6 years ago
Closed 6 years ago
Call GeckoThread.onPause() and onResume() on activity lifecycle events
Categories
(GeckoView :: General, enhancement)
Tracking
(firefox69 wontfix, firefox70 fixed)
RESOLVED
FIXED
mozilla70
People
(Reporter: mortimergoro, Assigned: mortimergoro)
References
Details
(Whiteboard: [geckoview:fxr:p1])
Attachments
(1 file)
I needed to detect when the browser goes to background in a Gecko cpp class, but I found the application-background
event isn't triggered in GeckoView. The event is triggered from nsAppShell::onPause().
We can call GeckoThread.onPause() and GeckoThread.onResume() to trigger the pause/resume logic from nsAppShell
.
Assignee | ||
Updated•6 years ago
|
Assignee: nobody → imanol
Assignee | ||
Comment 1•6 years ago
|
||
Call GeckoThread.onPause() and onResume() on GeckoRuntime lifecycle events.
Assignee | ||
Updated•6 years ago
|
Whiteboard: [geckoview:fxr:p1]
Pushed by igorostizaga@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/4b40f7fa9db2
Call GeckoThread.onPause() and onResume() on GeckoRuntime lifecycle events. r=snorp,rbarker
Comment 4•6 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 6 years ago
status-firefox70:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla70
Comment 5•6 years ago
|
||
firefox69=wontfix because I assume we don't need to uplift these GeckoThread changes to GV 69 Beta.
status-firefox69:
--- → wontfix
You need to log in
before you can comment on or make changes to this bug.
Description
•