commit | 706bb3e9a3db65ff711e902879b44b86a2d421e9 | [log] [tgz] |
---|---|---|
author | Tony Huang <tonyychuang@google.com> | Tue Jul 20 10:50:53 2021 +0800 |
committer | Tony Huang <tonyychuang@google.com> | Thu Jul 22 14:48:57 2021 +0800 |
tree | 9a9cf63b68defe2b492ed080cf7966ef9646cd29 | |
parent | e5c6355a2e5bc6c8fccf0e44befe75682281fc94 [diff] |
Fix stage split rotation On current implementation, it will use DC.getLastOrientation in TDA#getOrientation, it will got SCREEN_ORIENTATION_NOSENSOR so it didn't rotate. Fix this by adding checking if TDA non floating root task is visible and creadted by organize, it should all use SCREEN_ORIENTATION_UNSPECIFIED. Fix: 194158966 Test: active stage split and rotate divice Change-Id: Ib9aaa9f822f7d3404410c505a12155bb69cb054d