Skip to content
Commit 0f4ce51b authored by Charles Chen's avatar Charles Chen
Browse files

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
parent a6a85a9b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment