OSDN Git Service

Fixed issue with SCREEN_ORIENTATION_BEHIND not working correctly
authorWale Ogunwale <ogunwale@google.com>
Sat, 25 Mar 2017 00:36:38 +0000 (17:36 -0700)
committerWale Ogunwale <ogunwale@google.com>
Mon, 27 Mar 2017 18:02:54 +0000 (11:02 -0700)
commit5e5a68dc063a3692ec8dcd9c07c9861680a18a52
treee418a141e044e340e28b545f589453e822aeaa49
parenta56d9a18415abc55497b5960658fd3272bbf64f4
Fixed issue with SCREEN_ORIENTATION_BEHIND not working correctly

If an app specifies SCREEN_ORIENTATION_BEHIND, then use the orientation
of the app behind it regardless of the visibility state of the app
behind.

Fixes: 35281868
Test: bit FrameworksServicesTests:com.android.server.wm.WindowContainerTests
Test: bit FrameworksServicesTests:com.android.server.wm.AppWindowTokenTests
Test: bit FrameworksServicesTests:com.android.server.wm.TaskStackTests
Change-Id: Ieba4e4bb1a7f47cd6f082491d37fcabcf5bd5199
services/core/java/com/android/server/wm/AppWindowToken.java
services/core/java/com/android/server/wm/WindowContainer.java
services/tests/servicestests/src/com/android/server/wm/AppWindowTokenTests.java
services/tests/servicestests/src/com/android/server/wm/TaskStackTests.java
services/tests/servicestests/src/com/android/server/wm/WindowContainerTests.java