Implement ActivityContextDelegate in Android Components
Categories
(Fenix :: General, enhancement, P1)
Tracking
(firefox110 wontfix, firefox111 wontfix, firefox112 fixed)
People
(Reporter: olivia, Assigned: olivia)
References
(Blocks 2 open bugs)
Details
(Whiteboard: [android-print][geckoview:m112])
Attachments
(1 file)
The PrintManager
requires a true Activity
context to enable printing through GeckoView.
Currently, GeckoView can access a context in the GeckoView; however, depending on how the embedder used the view, it may be a Fragment
context.
This bug is to implement the view delegate ActivityContextDelegate
in bug 1806191 in AC. Fenix and Focus may also need updates to retrieve the correct context. (Test by attempting to print using the returned context to ensure it is the necessary context.)
Please note that this is different than the runtime delegate Activity Delegate - see related bugs 1806191 for reasoning.
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Comment 1•2 years ago
|
||
Changing the dependency order for bug 1812149. I think it may be easier to implement the ActivityContextDelegate
in AC only, and then in bug 1812149 fix the context issue and connect Fenix and Focus to the new AC ActivityContextDelegate
. (It is easier to test bug 1812149 if the ActivityContextDelegate
is working to ensure the new base context is correct for the PrintManager
.)
Assignee | ||
Updated•2 years ago
|
Comment 2•2 years ago
|
||
Assignee | ||
Updated•2 years ago
|
Description
•