Implement onboarding for P3A on Android (original) (raw)

Description

The follow up issue for #6176 . It is required to implement notification about P3A during onboarding as it is done for desktop.

Designs

For new users, show an initial welcome screen with P3A checkbox before the privacy onboarding experience:

loadingP3A

(This has the same Brave logo animation as in the first version of onboarding.)

image

For new users who viewed the onboarding message p3a.enabled should be true, p3a.notice_acknowledged should be true

For existing users, show the P3A checkbox modal on next app launch:

image

The P3A checkbox modal takes priority over any other modals that might be in queue (for example, set Brave as default browser).

"Private product analytics" links to https://brave.com/p3a

Assets

Figma: https://www.figma.com/file/atoL4LN2kd8ILnPGwohUoV/?node-id=1511%3A24317