summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorBryce Lee <brycelee@google.com>2017-06-22 13:14:28 -0700
committerBryce Lee <brycelee@google.com>2017-07-05 20:36:10 +0000
commit2a0284b1a69b57cc239357c9a5fbb514cf2fc8b2 (patch)
treea5efc99945f3b42ef7cd2e96b9f5d00cc0e482c9 /rs/java/android/renderscript/ProgramVertexFixedFunction.java
parent96decad236f8da82d916e4c5c57ae7d889ed60f8 (diff)
Use configuration delta to determine if still in orientation change.
We currently track this change in the WindowState with a variable called mOrientationChanging. This value is set and cleared in a variety of classes. It is possible for this value to be cleared before processing an orientation changing frame. This can lead to us prematurely unfreezing. Since the orientation is present in the configuration, we can use the orientation delta between the last and current frame's configuration to determine whether we are in the middle of an orientation change. The existing signal has been moved behind a setter/getter where the latter is combined with the configuration state. Bug: 62846907 Test: go/wm-smoke Test: turn launcher rotation on, open dialer in portrait, turn off screen, rotate to landscape, unlock with fingerprint, press home while rotating. make sure layout is correct. Change-Id: Ie0b78b76565125fd1cb036545cfb59f2a9075328
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions