Commit Graph

11 Commits

Author SHA1 Message Date
Sunny Goyal
cf30da59e1 Clearing DB before restore starts.
Bug: 18362052
Change-Id: Ic4faf04db2f76c0c434907f1c41c8b708283eeb7
2014-11-18 11:38:01 -08: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
Sunny Goyal
d8cec0945e Disabling restore for below L devices
Change-Id: I262f52e88421637e0d50c048f6d53c6b5754da4e
2014-10-23 20:04:59 -07:00
Sunny Goyal
42de82ff8d Resetting launcherProvider data if restore set was empty
Bug: 17332300
Change-Id: I6d2187cd1b1fa7a53e49b96eb109263f6b74b258
2014-09-28 17:02:03 -07:00
Chris Wren
9041a98280 enable restore by default in master (for 3.7)
Change-Id: I3f64a9248602925c17d2e89295f02cbe64160a6a
2014-06-27 16:07:30 +00:00
Chris Wren
3489f5c1bf disable launcher restore by default, for nova launch
Change-Id: I54aa2de71f8fcc660922a59ff280ae141e066f73
2014-05-29 16:58:15 -04:00
Chris Wren
42c725fe68 enable launcher restore by default
shortcuts are wroking, widgets are todo

Bug: 10778992
Change-Id: I938b6d6ba5b68769628337955a17badaece1433f
2014-03-11 14:36:00 -04:00
Chris Wren
50c8f42568 rationalize launcher backup logging
enough data to debug dogfood issues
easy switch to move to quieter production mode
common switch across all three classes

Bug: 12545310
Change-Id: Icb4ad7174f20884c6993140149db590d66f6e006
2014-01-15 16:35:33 -05:00
Chris Wren
4b171361ca hide launcher restore behind a flag.
enable with 'adb shell settings put secure launcher_restore_enabled 1'
before signing into wiped device

Bug: 12532845
Change-Id: I1471c39dac2e6e1412f7720b1ba8edf46273c593
2014-01-13 17:52:40 -05:00
Chris Wren
45297f851a backup launcher preferences
Bug: 11267816
Change-Id: I12a32477164fe2205bc8cb02e0a23c561a7f9189
2013-12-03 23:46:13 -05: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