commit | 5496dfa0eb103f7954df94aea257ce482bde184d | [log] [tgz] |
---|---|---|
author | Marzia Favaro <marziana@google.com> | Fri Nov 03 17:32:18 2023 +0000 |
committer | Marzia Favaro <marziana@google.com> | Mon Nov 27 16:59:00 2023 +0000 |
tree | a30f5f85beecb94cf0204911cef196b3bddec314 | |
parent | a62c4d69b5d99618d356bccd8717863f578da94b [diff] |
Improve readability and add protections against use after release NPE Preventively ensure the dimLayer has not been released before trying to access it. Fix: 308448047 Test: atest CtsWindowManagerDeviceOther:android.server.wm.other.MinimalPostProcessingTests#testTwoVisibleWindowsSecondOnePrefersMinimalPostProcessing --iteration 100 Test: atest DimmerTests Change-Id: Id08838e0a98ba949382442b8fac8e81156d1aa40