commit | 0f4ce51bc204a5da1641cc35a57b9f682fe12b66 | [log] [tgz] |
---|---|---|
author | Charles Chen <charlesccchen@google.com> | Wed Aug 25 16:36:50 2021 +0800 |
committer | Charles Chen <charlesccchen@google.com> | Thu Aug 26 12:43:36 2021 +0000 |
tree | 522964202f5d19d35bd4cf5f44579ae91091df05 | |
parent | a6a85a9be2fa34bf00dd5c2c275c273f79f4bbb7 [diff] |
Remove WindowManager usage in ViewConfiguration [1] made context created via #createConfigurationContext access ViewConfiguration without StrictModeViolation. However, we may obtain WindowManager in ViewConfiguration and still breaks the violation. This CL gets rid of WindowManager usage to prevent the violation. Test: atest StrictModeTest Bug: 197282789 Bug: 191683535 Change-Id: Ifed3f318601ad2214db137ed3d75efdf2157799e