commit | 4136db264624a343d92c818efb8453a2a5f0852a | [log] [tgz] |
---|---|---|
author | Riddle Hsu <riddlehsu@google.com> | Mon Oct 12 19:03:35 2020 +0800 |
committer | Riddle Hsu <riddlehsu@google.com> | Mon Oct 12 14:56:10 2020 +0000 |
tree | 24af01f0bef576b0d6ce9749e5373f481a540c62 | |
parent | 2bfca13845d398f16d6947b1acc1509842d5269b [diff] |
Ignore orientation from invisible non-activity window This restores the orientation condition as in Q. Otherwise the display orientation may still be controlled by an invisible overlay window (e.g. its root view has set View.GONE) . Bug: 169468732 Test: DisplayAreaTest#testGetOrientation Change-Id: I517be9fb135eeb69722054e6191ef500f2f47da9