diff options
author | Riddle Hsu <riddlehsu@google.com> | 2020-10-12 19:03:35 +0800 |
---|---|---|
committer | Riddle Hsu <riddlehsu@google.com> | 2020-10-15 05:32:35 +0000 |
commit | 762f34000cc2d0c6edd3aed0daa1514837d7881c (patch) | |
tree | 8c27fab4d8011c0fc86d998a7fa265997d83fdb2 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 44889fb4271ae82dab38c1af3aaf996736ad32da (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
Merged-In: I517be9fb135eeb69722054e6191ef500f2f47da9
(cherry picked from commit 4136db264624a343d92c818efb8453a2a5f0852a)
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions