commit | fa5570e5c3b0b0439bb30dcebb4bb357c3389c6a | [log] [tgz] |
---|---|---|
author | Garfield Tan <xutan@google.com> | Wed Oct 07 14:47:05 2020 -0700 |
committer | Garfield Tan <xutan@google.com> | Fri Oct 16 10:51:46 2020 -0700 |
tree | af96af1665730dff57a2e36311f36bdb05eb90de | |
parent | db1a1524b5450b0b796e8f1a18f34b9c6487d975 [diff] |
Extend commands to get 2 rotation related states Also clean up the code in related methods. Bug: 170159753 Test: cmd window fixed-to-user-rotation [-d display] shows the state. Test: cmd window fixed-to-user-rotation [-d display] [enabled|disabled|default] changes the state. Test: cmd window user-rotation [-d display] shows the state. Test: cmd window user-rotation [-d display] [lock|free] [rotation] changes the state. Change-Id: Id27c04dde238a73a0a6a6574e3c0f2503a51b7eb