Closed Bug 2028973 Opened 6 months ago Closed 6 months ago

Make sure proper startup events occur, recommend adjustments around `InitTranslationsBrowserState`

Categories

(Firefox for Android :: Translations, task)

All
Android
task

Tracking

()

RESOLVED FIXED
151 Branch
Tracking Status
firefox151 --- fixed

People

(Reporter: olivia, Assigned: olivia)

References

(Depends on 1 open bug)

Details

(Whiteboard: [fxdroid][group6])

Attachments

(1 file)

Translations queries a bunch of information at startup.

InitTranslationsBrowserState should check if this is a sensible thing to do by checking the pref and setting the store, if the AIControl switch is on.

Patch adds isTranslationsEnabled that uses TranslationsEnabledSettings.dataStore(context).isEnabled.first() to determine if the user wants translations enabled or not.

Pushed by mtighe@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/7497097fd9bb https://hg.mozilla.org/integration/autoland/rev/8a9f54364af7 Do not initialize translations when the user has the feature off r=matt-tighe,android-reviewers
Status: NEW → RESOLVED
Closed: 6 months ago
Resolution: --- → FIXED
Target Milestone: --- → 151 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: