Open Bug 2078546 Opened 1 month ago Updated 1 month ago

Add defensive handling in code to ensure if a user has both marketing and sync cards eligible that the ordering defined in the manifest is maintained

Categories

(Firefox for Android :: Onboarding, task, P3)

All
Android
task

Tracking

()

People

(Reporter: towhite, Unassigned)

References

Details

(Keywords: good-first-bug, Whiteboard: [android-activation-trust] [fxdroid] [good-first-bug])

Preserve manifest ordering if both marketing and sync onboarding cards are eligible.

The marketing and sync cards belong to mutually exclusive feature flows, so both being eligible is not expected in practice. However, we should handle this defensively to preserve the card ordering defined in the manifest.

addPageIfAbsent appends a page to the list if it is not already present. If both cards are eligible and the marketing setting is collected before the sync setting, the marketing card could appear before the sync card.

Severity: -- → N/A
Keywords: good-first-bug
Priority: -- → P3
Whiteboard: [android-activation-trust] [fxdroid] → [android-activation-trust] [fxdroid] [good-first-bug]
You need to log in before you can comment on or make changes to this bug.