diff options
author | Jorim Jaggi <jjaggi@google.com> | 2016-08-25 15:57:41 -0700 |
---|---|---|
committer | Jorim Jaggi <jjaggi@google.com> | 2016-08-26 23:38:33 +0000 |
commit | 160a3c578c5cbbe31f3dbb51fc0a78ee6d80c5cd (patch) | |
tree | a37e8542f6a8002131c98d7a53efedcc350c7237 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 80c031cbd40f211f8cef9856f9c5fc90846d2802 (diff) |
Fix invalid divider state while rotating
- Sometimes there is no window attached to the app token during a
rotation. In this case, we also want to return a valid dock side, so
we check for hiddenRequested instead of traversing the windows
of an app window token.
- The logic to notify SystemUI about rotation changes never really
worked. Remove the dock side check as the dock side is guaranteed
to change if we change the screen rotation
- Also clean up visibility methods a bit.
Test: Manually tested the interaction when in docked state landscape,
and going home with locked home rotation like 20 times. Also tested
multi-user interaction with docking.
Change-Id: Ibcd181cadc9bc5a97dbd20e67d15bb1c88de5b97
Fixes: 29569499
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions