diff options
| author | 2023-07-28 18:46:14 +0800 | |
|---|---|---|
| committer | 2023-07-28 23:09:19 +0800 | |
| commit | 98e233c2f1218492c7ab989e04d0958deac435b2 (patch) | |
| tree | 4fd7faf81d05378c16af5ea0fd2d6baf40c81c5d /libs/androidfw/StringPool.cpp | |
| parent | b4e39624221c0f5201e930dfe690ddf11d02e496 (diff) | |
Fix flaky WindowTokenClientController
Although the WindowTokenClientController can be created for testing, it
was still using the app's real IWindowManager. When override the
IWindowManager in test setup, it can be accessed by the real app before
the test case run.
Allow mock IWindowManager getter to make sure there is no unexpected
access from the real app.
Fix: 293161156
Test: atest FrameworksCoreTests:WindowTokenClientControllerTest
Change-Id: I784f365ffa17dbddefcce73e4a1ed9530f071be4
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions