Closed Bug 1809919 Opened 2 years ago Closed 2 years ago

Implement ActivityContextDelegate in Android Components

Categories

(Fenix :: General, enhancement, P1)

All
Android
enhancement

Tracking

(firefox110 wontfix, firefox111 wontfix, firefox112 fixed)

RESOLVED FIXED
Tracking Status
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.

Blocks: 1809922
Blocks: 1809915
Whiteboard: [geckoview:m?112]
Whiteboard: [geckoview:m?112] → [android-print][geckoview:m?112]
Whiteboard: [android-print][geckoview:m?112] → [android-print][geckoview:m112?]
Depends on: 1812149
Blocks: 1659818

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.)

Blocks: 1812149
No longer depends on: 1812149
Assignee: nobody → ohall
Priority: P3 → P1
Whiteboard: [android-print][geckoview:m112?] → [android-print][geckoview:m112]
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: