Open Bug 2023952 Opened 4 days ago Updated 1 day ago

Turn off UI for Translations on Android

Categories

(Firefox for Android :: Translations, task)

All
Android
task

Tracking

()

People

(Reporter: olivia, Assigned: olivia)

References

(Blocks 1 open bug)

Details

(Whiteboard: [fxdroid][geckoview])

For translations on Android, we need to turn off all of the UI, in addition to turning off the engine.

We have some pre-existing methods to examine, for example isEngineSupported and the old experiment hooks . They shouldn't be reused as-is, but have insight into key entry-points.

We need to add a similar hook for turning translations off. Might be a new TranslationsAction that sets the UI to turn off. Could tie into work in bug 2023948 or else be parallel with it.

isEngineSupported is likely the closest existing item that shows entry-points; however, I suspect it might not account for the bottom-sheet popping up. This is because if the engine truly isn't supported, then the popup wouldn't have the mechanism available on the Gecko side to cause it. So, likely need to check add a popup signalling behavior flag too. (The experiment may be more comprehensive for that case.)

See Also: → 2023941
Assignee: nobody → ohall
You need to log in before you can comment on or make changes to this bug.