commit | a58b55052f6e8d17a11d394ce2d16ac433ace95f | [log] [tgz] |
---|---|---|
author | Riddle Hsu <riddlehsu@google.com> | Wed Jun 30 14:53:58 2021 +0800 |
committer | Riddle Hsu <riddlehsu@google.com> | Wed Jun 30 15:00:05 2021 +0800 |
tree | 2d44b8a27065753cc7149c75a0b8547f16c7232b | |
parent | 6f383b1b8e5d3a4c798e840136e2a59b8483b024 [diff] |
Skip task snapshot if display has not been enabled Otherwise if keyguard changes to be showing when booting and keyguard secured state has not been updated yet, it will cause allowSnapshotHome to be true. And then take snapshot for FallbackHome, that is useless and wasteful. Bug: 192400758 Test: "adb shell dumpsys window w | grep -A5 SnapshotCache" should show zero entry after device is booted. Change-Id: Ia4afe69a70065fc3972fb9cb3dccc1e4b3b35a79