commit | ff3622257f43a68b51e7a07c2451af1092a745ef | [log] [tgz] |
---|---|---|
author | Garfield Tan <xutan@google.com> | Wed Nov 14 17:52:32 2018 -0800 |
committer | Garfield Tan <xutan@google.com> | Wed Nov 28 14:08:57 2018 -0800 |
tree | 96389de29d4447176b16317028790d8e1fd2476c | |
parent | 18b665d4cd40155e0008d699503d07ef892fcd00 [diff] |
Add a flag to fix rotation to user rotation only. It also does a few more things: 1. Add a command to manually test the flag. 2. Refactor DisplayRotation a bit to make it unit testable. 3. Add some core unit tests for DisplayRotation. Bug: 113252523 Test: Manual test. atest WmTests:DisplayRotationTests Change-Id: I00c4a44e4d2f637590e8b13f7e6194624c04c58f