diff options
author | Lucas Dupin <dupin@google.com> | 2019-04-18 19:23:06 -0700 |
---|---|---|
committer | Lucas Dupin <dupin@google.com> | 2019-04-19 16:08:38 +0000 |
commit | 3704d53fe1303cee029b633c665dff5a4ed6e621 (patch) | |
tree | 06484b271ee87ab88afcd2276371af88729a7ea0 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
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
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions