diff options
| author | 2024-08-31 01:33:55 +0000 | |
|---|---|---|
| committer | 2024-08-31 01:51:49 +0000 | |
| commit | 40a4ec29317c07ca6cdd8c05c69c862ecfe2aa43 (patch) | |
| tree | 19affa5b60fe075bb90d772d41fdf4f14ed6a3c6 /libs/androidfw/StringPool.cpp | |
| parent | a0b24fab8afd4078828027d7374b58741db842f3 (diff) | |
Use uiContext when trying to get WindowManager or UI related work
There is a silent error log when trying to getWindowManager with
a11yService as the context. Creating a WindowContext before getting the
WindowManager clears out the error log
Bug: 268743197
Test: manually. Turn on/off a11y menu, rotate the screen, clicking on
the menu item all works
Test: atest AccessibilityMenuServiceTests
Flag: EXEMPT low risk bugfix
Change-Id: I0f5f5df85f766f8dc14bd1bc1a534a1eac245faf
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions