DataStore-backed UserPreferences #4
Labels
No Label
P0
P1
P2
release-blocker
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: null/Privacy-Period-Tracker#4
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Settings have nowhere to live. Notification privacy mode, reminder time, the per-type reminder toggles, biometric lock, theme and the ads-removed entitlement are all named in PRODUCT_PLAN.md §10 and none of them are stored.
Build
core/datastorewith a typedUserPreferencesover DataStore Preferences, exposed as aFlow.Two constraints that matter more than they look:
Verify:
./gradlew :core:datastore:testpasses, a changed preference survives a force-stop and relaunch, and a fresh install readsNotificationPrivacy.DISCREETwithout any value having been written.