Privacy Report: Change the privacy report to be sent within a time window.
Categories
(Firefox for Android :: Experimentation and Telemetry, task)
Tracking
()
People
(Reporter: vkumar, Assigned: rebecatudor273)
References
Details
(Whiteboard: [fxdroid] [android-activation-trust])
Attachments
(1 file, 1 external file)
|
4.86 MB,
video/quicktime
|
Details |
To avoid sending the privacy report at night, send it the next noon after the 7 day interval has been hit.
| Reporter | ||
Updated•3 months ago
|
Updated•3 months ago
|
| Assignee | ||
Updated•3 months ago
|
| Assignee | ||
Comment 1•3 months ago
•
|
||
Schedule the privacy report notification at the configured interval
within the notification time window, based on the user's local timezone.
Updated•2 months ago
|
Updated•2 months ago
|
| Assignee | ||
Comment 3•2 months ago
|
||
This was discussed with the PM, and it was decided to send the notification within a time window (12:00 PM-5:00 PM) rather than only at noon.
| Assignee | ||
Comment 4•2 months ago
|
||
Notes:
Existing installations with the privacy notification enabled via the secret setting will need a fresh install, as they may already have a periodic WorkManager request registered under the same unique work name.
STR:
- Set the device date/time according to the test case below.
- Install and launch Firefox.
- Complete onboarding.
- Make sure both "weekly Privacy Report notification feature" and "weekly Privacy Report notification trackers over threshold" are enabled.
- Enable notifications.
- Change device date to 7 days later.
- Check the time at which the Privacy Report notification is delivered.
Expected results
- The Privacy Report notification is delivered once per week.
- The notification should occur within the 12:00 PM–5:00 PM local-time window.
- The notification time should not progressively drift outside this window on subsequent weeks.
- If the scheduled weekly point falls outside the allowed window, the notification is moved to the appropriate time within the next valid window rather than being delivered during the night/early morning.
- Disabling the notifications/feature prevents the expected notification from being delivered.
Examples
- Onboarding finished before 12:00 PM -> the first notification should be delivered 7 days later at 12:00 PM. Subsequent notifications should be delivered every 7 days at 12:00 PM.
- Onboarding finished at any time between 12:00 PM and 5:00 PM -> he first notification should be delivered 7 days later at the same time onboarding was completed. Subsequent notifications should continue every 7 days at that time.
- Onboarding finished after 5:00 PM -> The first notification should be delivered 8 days later at 12:00 PM. Subsequent notifications should then be delivered every 7 days at 12:00 PM.
Note: The notification may be delivered later than the calculated time due to Android/WorkManager scheduling.
Comment 5•2 months ago
|
||
| bugherder | ||
Comment 6•1 month ago
|
||
Verified the notification scheduling and delivery timing logic on Firefox 159.0a1 (Poco M4 Pro (Android 12). All time windows work as expected:
- Onboarding completed before 12:00 PM -> Delivered 7 days later at 12:00 PM.
- Onboarding completed between 12:00 PM – 5:00 PM -> Delivered 7 days later at the exact onboarding time.
- Onboarding completed after 5:00 PM -> Delivered 8 days later at 12:00 PM.
Note:
The notification body currently displays a hardcoded tracker count ("48") regardless of the actual number of trackers blocked. We have logged a follow-up bug to track the static tracker count issue: 2078619
Updated•1 month ago
|
Comment 7•1 month ago
|
||
Updated•1 month ago
|
Description
•