commit | 3704d53fe1303cee029b633c665dff5a4ed6e621 | [log] [tgz] |
---|---|---|
author | Lucas Dupin <dupin@google.com> | Thu Apr 18 19:23:06 2019 -0700 |
committer | Lucas Dupin <dupin@google.com> | Fri Apr 19 16:08:38 2019 +0000 |
tree | 06484b271ee87ab88afcd2276371af88729a7ea0 | |
parent | db44ba1e85fbba8ad9628d48af6948fb3757c0d9 [diff] |
Do not unnecessarily re-inflate camera preview Camera preview inflation was happening every time the keyguard visibility changed, causing jank and making sysui drop frames. Ultimately, the symptom was AOD flashing after pressing power. Fixes: 130878131 Test: press power to go from and to AOD Test: double tap power to launch camera (preview is still available) Test: press power to lock device from launcher Change-Id: Id3df83d59dcd123a71b37297e9ab70a1e8a52c90