diff options
author | 2023-08-22 02:46:46 +0000 | |
---|---|---|
committer | 2023-08-22 19:12:04 +0000 | |
commit | 5c0996d5410b1f96dcc2024143e3eef6d704a7c5 (patch) | |
tree | 7c0724dd0f42d1ff4b5069e067507e382af15d82 /libs/hwui/FrameInfoVisualizer.cpp | |
parent | 915e9f2628a8fb489b37c8fe8c155097fe7e75cb (diff) |
Use mAccessibilityManager everywhere in ViewRootImpl for consistency
- This avoids using view's context to get AccessibilityManager which
prevents potential NullPointerException
- Add a warning log calling getAccessibilityFocusedRect while the mView
is null.
Unsure about the exact path that cause the tests crashes due to mView is
empty when calling getAccessibilityFocusedRect
Bug: 294028129
Test: atest CtsAccessibilityServiceTestCases --iteration 3
Change-Id: I33c81629f365d12f6f15698c0647e629c2e8eae1
Diffstat (limited to 'libs/hwui/FrameInfoVisualizer.cpp')
0 files changed, 0 insertions, 0 deletions