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)

All
Android
defect
Not set
normal

Tracking

(firefox44 fixed, fennec+)

RESOLVED FIXED
Firefox 44
Tracking Status
firefox44 --- fixed
fennec + ---

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
tracking-fennec: --- → 41+
Assignee: nobody → s.kaspari
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?
See comment above.
tracking-fennec: 41+ → ?
tracking-fennec: ? → +
From the docs: 25MB limit per app / per device.
No longer blocks: build-android-m
Bug 1190375 - Disable Android (Auto) Backup. r?mfinkle
Attachment #8678845 - Flags: review?(mark.finkle)
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 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+
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 44
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.
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?
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: