diff options
| author | 2023-02-02 15:21:42 +0800 | |
|---|---|---|
| committer | 2023-02-02 15:21:42 +0800 | |
| commit | 33b07be41984ee3b750c361104a67df5095f2f51 (patch) | |
| tree | 4aca8ed25b3dc20319d2b3ee70a58d58c912b565 /libs/androidfw/AttributeResolution.cpp | |
| parent | e37a7d5e0c4e2604904409a3328172257882f52f (diff) | |
Check null for top activity when updating orientation
Ideally if 'r' is non-null, topRunningActivity() should at least
find it. But there may be corner cases such as all activities in
the display are finishing, or other places didn't clear orientation
source correctly for an empty display.
Bug: 266896543
Test: DisplayContentTests
Change-Id: I86a1395e3fcfc3a0338cacd85256c442c5299b1d
Diffstat (limited to 'libs/androidfw/AttributeResolution.cpp')
0 files changed, 0 insertions, 0 deletions