Closed Bug 1869404 Opened 2 years ago Closed 1 year ago

GeckoView Implement a way to Clear "Cached" Models

Categories

(Firefox for Android :: Translations, enhancement, P2)

All
Android
enhancement

Tracking

()

RESOLVED FIXED
129 Branch
Tracking Status
firefox129 --- fixed

People

(Reporter: olivia, Assigned: olivia)

References

Details

(Whiteboard: [fxdroid][foundation][geckoview:m123][translations:128])

Attachments

(1 file)

This bug is to add a way to clear downloads that occurred via translate and do not relate to a full download language "suite".

Partial delete will be an option on GeckoResult<void> manageLanguageModels(options) - Runtime and used to clear cache for the as-needed models retrieved by translate.

Some additional context on Bug 1854691

Severity: -- → N/A
Priority: -- → P2
Whiteboard: [fxdroid][foundation]
Assignee: nobody → ohall
Priority: P2 → P1
Whiteboard: [fxdroid][foundation] → [fxdroid][foundation][geckoview:m123]

The Android team has not been keeping our P1 bug list up to date, so we're resetting all our P1 bugs to P2 to avoid signalling that we're actively working on bugs that we're not. The BMO documentation https://wiki.mozilla.org/BMO/UserGuide/BugFields#priority says P1 means "fix in the current release cycle" and P2 means "fix in the next release cycle or the following (nightly + 1 or nightly + 2)".

If you are actively working on this bug and expect to ship it in Fx 122 or 123, then please restore the priority back to P1.

Priority: P1 → P2
Blocks: 1876805
Depends on: 1880167
Assignee: ohall → nobody
Whiteboard: [fxdroid][foundation][geckoview:m123] → [fxdroid][foundation][geckoview:m123][translations:128]
Assignee: nobody → ohall

This bug connects the toolkit API of TranslationsParent.deleteCachedLanguageFiles()
to allow cache clearing in ModelManagementOptions when using RuntimeTranslation.manageLanguageModel.

Depends on D211582

Pushed by ohall@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/268f2e900d52 GeckoView Connection of Translations Option to Clear "Cache" r=geckoview-reviewers,calu
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 129 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: