commit | 60b5531d4ac27295886da16bdd328df198e92ba1 | [log] [tgz] |
---|---|---|
author | Santiago Etchebehere <santie@google.com> | Fri Aug 20 18:06:28 2021 -0700 |
committer | Santiago Etchebehere <santie@google.com> | Sat Aug 28 01:37:21 2021 +0000 |
tree | e9a45503329393711e7f899b48ea774d6c4ca677 | |
parent | 50ae7121a3f4fa6403c83cd0b9080a62a94e097d [diff] |
Make SetWallpaperCallback independent of Activity Use a ViewModel to keep track of the wallpaper set status so that if the Activity is restarted because of a configuration change before the wallpaper set callback returns, the new Activity still finished once it's applied. Bug: 194080642 Test: manual Change-Id: I3d4933caa73dcebf3711512dedfef3b024958630 Merged-In: I3d4933caa73dcebf3711512dedfef3b024958630