Closed
Bug 833045
Opened 12 years ago
Closed 4 years ago
“Clear Private Data” should notify Sync
Categories
(Firefox for Android Graveyard :: Data Providers, defect)
Tracking
(Not tracked)
RESOLVED
INCOMPLETE
People
(Reporter: rnewman, Unassigned, Mentored)
References
(Blocks 1 open bug)
Details
This is the Android equivalent of Bug 578694.
We can either do this via marking everything as deleted (which we might already do), which would satisfy, or we can use some other approach:
* Local broadcast notifications (http://developer.android.com/reference/android/support/v4/content/LocalBroadcastManager.html)
* Sentinel DB records ("I deleted everything in this table prior to this date"), with a triggered sync
* Some combination of the two.
Reporter | ||
Updated•9 years ago
|
Mentor: vivekb.balakrishnan, nalexander, rnewman
Reporter | ||
Comment 1•9 years ago
|
||
Aakarshan wrote to me asking about this bug. Vivek and Nick, how do you feel about helping out?
Mentors: it's worth starting to think about Bug 1191450, too.
Hardware: ARM → All
Comment 2•9 years ago
|
||
I'm happy to help with this, especially with reviews. I think local broadcast notifications are not a great fit, since Sync-stuff won't be listening by default. Best to use non-exported system broadcasts, so that the system wakes us.
Based on https://bugzilla.mozilla.org/show_bug.cgi?id=578694#c16, the idea here is to delete records remotely, which in Sync-land means uploading them marked as deleted. I would expect us to do that already, unless our "Clear Private Data > History" is doing a "DELETE * FROM history" instead of a more nuanced thing. Start by understanding if the database removes local rows, or if it updates the rows to be marked as deleted for Sync.
Comment 3•4 years ago
|
||
We have completed our launch of our new Firefox on Android. The development of the new versions use GitHub for issue tracking. If the bug report still reproduces in a current version of [Firefox on Android nightly](https://play.google.com/store/apps/details?id=org.mozilla.fenix) an issue can be reported at the [Fenix GitHub project](https://github.com/mozilla-mobile/fenix/). If you want to discuss your report please use [Mozilla's chat](https://wiki.mozilla.org/Matrix#Connect_to_Matrix) server https://chat.mozilla.org and join the [#fenix](https://chat.mozilla.org/#/room/#fenix:mozilla.org) channel.
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → INCOMPLETE
Updated•4 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•