OSDN Git Service

Restoring pinned shortcuts to original state after restore
authorSunny Goyal <sunnygoyal@google.com>
Thu, 25 Apr 2019 00:11:24 +0000 (17:11 -0700)
committerSunny Goyal <sunnygoyal@google.com>
Tue, 30 Apr 2019 17:25:40 +0000 (10:25 -0700)
commitae788a16312ad2cc845334c87a717d79bca1a7d4
treef1aeba7de8dd120b30192db0f9af12fe28add6e0
parent64693e31d9017b391031729312bce787680d7a74
Restoring pinned shortcuts to original state after restore

Creating an no-op backup agent in settings. This ensures that
we get onRestoreFinished callback after restore is finished where we
can update all pinned shortcuts.

Bug: 110016648
Test: Verified backup->clear-data->restore path on device
Change-Id: Id14d0792d60ba08d97078a31a81d2b63ab8ce109
AndroidManifest.xml
src/com/android/settings/backup/SettingsBackupHelper.java [new file with mode: 0644]
src/com/android/settings/shortcut/CreateShortcutPreferenceController.java