Open Bug 1970225 Opened 14 days ago Updated 1 day ago

[GeckoView] Multi - Get and Set Gecko Preferences

Categories

(GeckoView :: General, task)

All
Android
task

Tracking

(Not tracked)

People

(Reporter: olivia, Assigned: olivia)

References

(Blocks 1 open bug)

Details

(Keywords: leave-open, Whiteboard: [fxdroid] [geckoview])

Attachments

(2 files)

This bug is to look into add a multi preference getter and setter for GeckoView to reduce messaging on bulk operations.

For example, getGeckoPreference(List<Strings>) and similar for setting.

Blocks: 1908182
Whiteboard: [fxdroid] [geckoview]
Severity: -- → N/A
Assignee: nobody → ohall

This has changed some it needs to also have expected pref state on the setter.

This patch expands the GeckoView preference API to add an option to
get multiple preferences.

Keywords: leave-open
Pushed by ohall@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/a1cde27a58c1 https://hg.mozilla.org/integration/autoland/rev/53ff82beb3bc GeckoView Option to Get Multiple Prefs r=geckoview-reviewers,geckoview-api-reviewers,nika,owlish

This patch adds a new GeckoView API that adds a method to only set a
Gecko preference if it currently matches the previous expected preference
value.

It additionally adds an object that contains setting information.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: