Closed Bug 1930035 Opened 1 year ago Closed 1 year ago

[Search Consolidation] Create a SearchUserEnvironment object in AC to send to SearchEngineSelector API in ApplicationServices

Categories

(Firefox for Android :: Search, task)

All
Android
task

Tracking

()

RESOLVED FIXED
137 Branch
Tracking Status
firefox137 --- fixed

People

(Reporter: skhan, Assigned: adhingra)

References

(Blocks 1 open bug)

Details

(Whiteboard: [fxdroid][group3][search-consolidation])

Attachments

(1 file)

According to the SearchEngineSelector Api, filter_engine_configuration filters the search configuration with the user's given environment, and returns the set of engines and parameters that should be presented to the user.

This user's environment is what needed to be created here. Calling this object as SearchUserEnvironment which will look like

SearchUserEnvironment {
        	locale: "fi".into(),
        	region: "FR".into(),
        	update_channel: SearchUpdateChannel::Default,
        	distribution_id: String::new(),
        	experiment: String::new(),
        	app_name: SearchApplicationName::Firefox,
        	version: String::new(),
    	}

SearchUpdateChannel and SearchApplicationName are enums defined in the API linked above.

Whiteboard: [fxdroid][group3][search-consolidation]
Assignee: nobody → skhan
Status: NEW → ASSIGNED
Blocks: 1945164
Blocks: 1944964
Attachment #9464436 - Attachment description: WIP: Bug 1930035 - Create a SearchUserEnvironment object in AC to send to SearchEngineSelector API in ApplicationServices → Bug 1930035 - Create a SearchUserEnvironment object in AC to send to SearchEngineSelector API in ApplicationServices.
Assignee: skhan → adhingra
Pushed by adhingra@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/4f0dd22e78c8 Create a SearchUserEnvironment object in AC to send to SearchEngineSelector API in ApplicationServices. r=android-reviewers,harrisono
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 137 Branch
Blocks: 1954786
No longer blocks: 1954786
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: