Commit Graph

11 Commits

Author SHA1 Message Date
Sunny Goyal
e8f7d5a67e Executing the DB migration during startup instead of restore.
This allows proper execution of DB.onUpgrade task if the app updates
after the restore

Change-Id: I4c40167b30e1d7040b3a38be70d834f7b215e540
2016-06-08 16:14:59 -07:00
Sunny Goyal
c190dbfb78 Adding full backup handler for launcher3
Bug: 28302573

Change-Id: If0889a3b00b88b134b19d7f790159dfafdcdb004
2016-05-10 15:27:24 -07:00
Chris Wren
92aa423826 move to backup helper architecture
add journals to DecoderRing, for backup debugging

Bug: 10778984
Change-Id: I38e93853c05f72468b3800c172b96effc70a63e0
2013-10-07 14:43:22 +00:00
Chris Wren
d8fe6de10d check the state of launcher before running a backup.
Bug: 11066273
Change-Id: Ie27a7cce4060f0bafedb06dbdb33fddf50a9cc48
2013-10-04 14:47:11 +00:00
Chris Wren
b86f07696c use PNG as the transport encoding for images
Bug: 11077365
Change-Id: I0e57fcbcd93916eb04841d2abc9aeabbd40db575
2013-10-04 14:46:47 +00:00
Chris Wren
978194c608 leave the padding on the backupkeys
this was self-consistent on the device, but the host tool
treats lack of padding in a different way.

Bug:10778984
Change-Id: I47f653a98f23ff0ce54218d100e0c8e2f92b67fa
2013-10-04 10:46:04 -04:00
Chris Wren
b1fd63b843 only backup widgets assets once
Bug: 10778984
Change-Id: I6736f8b699c7fc5669f966a8b25819ea380480ab
2013-10-04 14:42:55 +00:00
Chris Wren
2b6c21d434 add a proto decoder host utility
Bug: 10778984
Change-Id: I1c0203a3a5b3a3b1e565af387ccdfa92b53f8335
2013-10-03 12:57:53 -04:00
Chris Wren
fd13c714f4 backup widget assets.
Bug: 10778984
Change-Id: I842a88c517401fa4eb3798fd03e0fbc3634e3144
2013-10-03 12:57:52 -04:00
Chris Wren
22e130d401 backup launcher icons
Only allow a small number of icons to be backed up in any given pass.
Also refactor common code out of favorite and screen backups.

Bug: 10778984
Change-Id: I54bc769c1d1c1c9087ea4bc58f258bd15c167aea
2013-10-02 08:02:57 -04:00
Chris Wren
1ada10d595 add a backup agent.
backup only, restore path is just debugging/verification.
todo: restore path
todo: additional asset backup for widgets and launcher items

Bug: 10778984
Change-Id: I01aed4794a02f03daf21bca28f99cfbea90e4967
2013-09-24 09:41:39 -04:00