commit | c8c05ed350e0ae43f81c064d674f3d723cd4ed8c | [log] [tgz] |
---|---|---|
author | Huihong Luo <huisinro@google.com> | Fri Apr 02 10:45:50 2021 -0700 |
committer | Huihong Luo <huisinro@google.com> | Fri Apr 02 16:19:07 2021 -0700 |
tree | de73d53d6b6457c5ff957cd4145f24d910277f54 | |
parent | 33324ae8ea06ba70f6bb39267ed70567a347d0d1 [diff] |
Fix a potential memory crash for layer debug highlighting Move local variable to the outer scope as its pointer is used inside the vector declared in this scope. Bug: 184392945 Test: setprop debug.sf.layer_caching_highlight property Change-Id: I9dc8ff16e0b9aa78138141e7abeee600cc8280f0