summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorBryce Lee <brycelee@google.com>2017-03-15 10:18:21 -0700
committerBryce Lee <brycelee@google.com>2017-03-15 10:18:21 -0700
commit310de9e5ee7b57b928e7a6613d61bcfb1c0bf166 (patch)
tree1b734c4a2535db751c753fd99ada8eb3bcaefcff /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent70c8e868085ca5bb155dfc58b677b26d4b2e4042 (diff)
Fix AppWindowTokenTests#testLandscapeSeascapeRotationByPolicy
Previously this test was marked as blocked by b/35034729. This bug has been fixed, however the test still fails due to other issues addressed here. Addressed issues are as follows: 1. Updating rotation by display manager requires a display with the default display id present. This display is removed during setup. The first id to be used by a display after this point is the default id + 1. We already have logic in place to avoid collisions so it is safe and correct to start out at the default id. 2. Without allowing the animator to complete its steps after a rotation, future rotations will be deferred. We must simulate the steps taken by the and resulting from the animtor. These include marking the orientation change as complete and performing a surface placement afterwards. Bug: 35034729 Test: bit FrameworksServicesTests:com.android.server.wm.AppWindowTokenTests Change-Id: Ib01c047ac49982a4a3c1debaa3cee1b7b9b53632
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions