commit | 7289765636bf3c4a1720e2b3a0f1f1d062f059ef | [log] [tgz] |
---|---|---|
author | Max Spencer <maxspencer@google.com> | Fri Jul 08 13:15:28 2022 +0000 |
committer | Max Spencer <maxspencer@google.com> | Mon Jul 11 11:16:11 2022 +0000 |
tree | be438bc748c86a391d3d5e52246143144dc32be1 | |
parent | dc6ea1641aecdf88441ab358e5c4d7fbca764fd3 [diff] |
Prevent Safety Center rescan on configuration change The SC ViewModel is informed when a config change is happening and only refreshes on pageOpen if that when it's *not* preceded by a config change. I ditched the AutoRefreshManagers because lifecycle observers don't have access to the info about the config change. Fix: 237524338 Test: Manually tested, looing at the "Starting a new refresh" lines in logcat. Change-Id: I45d6864fe16faba838dc58add5bca78ad55fcc33