diff options
| author | 2021-12-29 23:59:33 +0000 | |
|---|---|---|
| committer | 2022-02-23 06:55:23 +0000 | |
| commit | 788a801020f57a6ddd71fa42197aee9b1d83f2f0 (patch) | |
| tree | 9629fbf33f04e3abc2b262aa899e632517a61eae /libs/androidfw/AttributeResolution.cpp | |
| parent | 8d50e04afcfceb20c4ae54667130a45a0ade0c6b (diff) | |
Fixes NPE from resolveRotation()
RotatatinResolverInternal can be null when the service is not ready.
This change adds a null check to avoid NPE.
Test: atest WindowOrientatinListenerTest
Bug: 199375757
Bug: 199381926
Change-Id: I1b6f3aee3eddf8f565f7ca21b1879f40c36f4e5c
(cherry picked from commit 835f63f972aa96945f518d139456cf794d041ca0)
Diffstat (limited to 'libs/androidfw/AttributeResolution.cpp')
0 files changed, 0 insertions, 0 deletions