summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorSteve Elliott <steell@google.com>2019-05-17 14:39:53 -0400
committerSteve Elliott <steell@google.com>2019-05-19 09:04:39 -0400
commite05817ff03b9274a52e6d1b54d18576badfb0355 (patch)
tree07c4ddeb866b71ae30c6014fb0f1b16a40d07175 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parentf4744c686f9cfec9d3ecd0f879ef87e0f8149e91 (diff)
Fix dropped rotation events when unlocking orientation
When unlocking orientation on the same frame as a rotation takes place (example: orientation is locked to landscape, but phone is physically oriented to portrait), onConfigurationChange is not invoked, and so Global Actions is positioned as if it were in the locked orientation, even though it has been rotated. We work around this by post()ing the rotation unlock, so that it happens on the next frame, at which point onConfigurationChange is correctly invoked and the layout is re-oriented properly. Fixes: 132581161 Test: manual Change-Id: I1c11844e24bea115f9f44560fef8db863d19d7af
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions