Commit Graph

6 Commits

Author SHA1 Message Date
Sunny Goyal
bb3b02f562 Replacing hotseat icon to an appropriate system app
> During backupi, store the hotseat target app type, based on some predefined
common system apps
> During restore, save this app type in the restore flag, if it is a hotseat app
> During first launcher load, if an app is not being restored, try to replace it
with an appropriate replacement for that type, otherwise delete it.

Bug: 18764649
Change-Id: Ic49e40bd707bd8d7de18bbab8b1e58a0a36426a2
2015-01-22 10:54:50 -08:00
Dave Hawkey
7d17629168 Add syntax option to backup.proto.
This is required to properly compile the file in google3.

Change-Id: Ib9ff3163974a5180797c0ecadb833dae93619b2c
2014-12-19 14:13:30 -07:00
Sunny Goyal
33d4438976 Updating backup restore logic
> Adding DeviceProfile information in the backup
> Removing SharedPreference backup
> Adding helper methods to abort backup in the middle
> Comparing keys against the backup journal during restore
to avoid restoring corrupt/lost entries
> Old backups are still compatible, but lost keys verification
will be ignored in that case.

Bug: 17937935
Bug: 17951775
Bug: 17260941
Change-Id: Iad48646cfdd69abaff5c163b2055f3b8a9b39b19
2014-10-28 09:27:10 -07: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