| commit | 24f0f34d0159bd11ea1e4a0a0053d3e9be32f6d0 | [log] [tgz] |
|---|---|---|
| author | Winson Chung <winsonc@google.com> | Thu Sep 17 13:23:39 2020 -0700 |
| committer | Winson Chung <winsonc@google.com> | Thu Sep 17 13:23:39 2020 -0700 |
| tree | e91de9b6003be05a014a7e5121a6b83980051a18 | |
| parent | 445e4b4b9b20270c9e19082736bde7790c5fd017 [diff] |
Only check activity rotation allowed when considering menu layout
- The canRecentsActivityRotate() also checks whether system rotation
is enabled which prevents us from using the right layout orientation
when home rotation is enabled while system rotation is disabled.
Bug: 168278832
Test: Tested menu visibility in combination of
Auto rotate setting x Home rotation setting X Device orientation
Change-Id: If74a38b1ec51abd2ea7f3ba3de23f0b2c4cab0ab