commit | 33b07be41984ee3b750c361104a67df5095f2f51 | [log] [tgz] |
---|---|---|
author | Riddle Hsu <riddlehsu@google.com> | Thu Feb 02 15:21:42 2023 +0800 |
committer | Riddle Hsu <riddlehsu@google.com> | Thu Feb 02 15:21:42 2023 +0800 |
tree | 4aca8ed25b3dc20319d2b3ee70a58d58c912b565 | |
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