Closed
Bug 1190375
Opened 10 years ago
Closed 10 years ago
Create whitelist (or blacklist) for Android Auto Backup
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(firefox44 fixed, fennec+)
RESOLVED
FIXED
Firefox 44
People
(Reporter: sebastian, Assigned: sebastian)
References
()
Details
Attachments
(1 file)
For background see bug 1185920.
Android M+ will automatically backup app data if targetSdkVersion is set to 23 (and we are building with that SDK). The app data is automatically restored if a user changes or upgrades a device. We are expecting some problems if all app data (including accounts) is restored.
We'd like to avoid disabling auto backup. So let's define a (minimal?) whitelist of things that can be in a backup and do not cause any problem when being restored on a (new) device. We can extend this list later but we will need something to start with in order to support the new SDK.
Resources:
* http://android-developers.blogspot.de/2015/07/auto-backup-for-apps-made-simple.html
* https://developer.android.com/preview/backup/index.html#configuring
Updated•10 years ago
|
tracking-fennec: --- → 41+
Updated•10 years ago
|
Assignee: nobody → s.kaspari
Assignee | ||
Comment 1•10 years ago
|
||
I don't think this needs to be tracking 41: Auto backup will only be enabled for builds that have targetSdkVersion set to 23. Before we can do that we need to fix a bunch of things to be able to build with SDK 23 (bug 1183061). And if we do that we will have to deal with the new permission model. And finally if we have done all this then I don't think we will uplift all this to 41?
Updated•10 years ago
|
tracking-fennec: ? → +
Assignee | ||
Comment 3•10 years ago
|
||
From the docs: 25MB limit per app / per device.
Assignee | ||
Updated•10 years ago
|
Blocks: targetSdkVersion23
Assignee | ||
Updated•10 years ago
|
No longer blocks: build-android-m
Assignee | ||
Comment 4•10 years ago
|
||
We've been discussing this on the mailing list:
https://mail.mozilla.org/pipermail/mobile-firefox-dev/2015-October/001541.html
Assignee | ||
Comment 5•10 years ago
|
||
Bug 1190375 - Disable Android (Auto) Backup. r?mfinkle
Attachment #8678845 -
Flags: review?(mark.finkle)
Assignee | ||
Comment 6•10 years ago
|
||
As discussed on the mailing list this patch disables auto backup to faster unlock targetSdkVersion=23. I'll file follow-up bugs for the ideas mentioned on the mailing list.
Comment 7•10 years ago
|
||
Comment on attachment 8678845 [details]
MozReview Request: Bug 1190375 - Disable Android (Auto) Backup. r?mfinkle
https://reviewboard.mozilla.org/r/23261/#review20757
Yes, we are disabling auto-backup. Make it so.
Attachment #8678845 -
Flags: review?(mark.finkle) → review+
Assignee | ||
Comment 8•10 years ago
|
||
https://hg.mozilla.org/integration/fx-team/rev/d5e6dc2b693ced39ed021ca2c4f1c15539a32547
Bug 1190375 - Disable Android (Auto) Backup. r=mfinkle
Comment 9•10 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 10 years ago
status-firefox44:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 44
Comment 12•8 years ago
|
||
How is the move to SDK23 going? I am still in the process of switching devices and while I will leave out the words I could use to convey my frustration with the process of migrating a Firefox session with over 100 tabs open from device to device (I have started doing this manually, as I need the history to each tab --which Sync doesn't provide-- and have wasted enough time finding a way around this). On the PC, the sessionstore* files makes this SO easy. I find it incomprehensible that I have to go through migrating these tabs manually for sake of a single line in a config file. PLEASE tell me that the whitelist and associated changes to move to SDK23 are coming soon. Don't want to go through this again! If nothing else, surely there is a way to prevent Android's cloud backup from restoring data (or perhaps have Firefox dump this info upon first launch post this action) and still enable those that care to use ADB to get the data off their own phones.
Blocks: 1440422
Comment 13•7 years ago
|
||
Small up here. adb backup having an option to force application backup is arguably an option.
However, being able to restore Firefox on a new device (or even the same one after flashing the ROM for instance), is a very useful missing feature.
The debates in above-mentioned thread mainly discusses Sync account, which backup is almost useless at best (users can setup sync quickly nowadays), and more probably harmful from the security point of view. Could we exclude all sensitive data from the auto-backup and make a move forward?
Could the above-mentioned follow-up bugs (if they were actually created) be linked to the present bug?
Updated•5 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
•