diff options
author | Daniel Sandler <dsandler@google.com> | 2011-02-22 14:54:17 -0500 |
---|---|---|
committer | Daniel Sandler <dsandler@google.com> | 2011-02-22 15:24:55 -0500 |
commit | 2ed6ad6aeca5f9829ea7dad4e092064ee4baad47 (patch) | |
tree | bccf80eaf081beef8e95d903f8a056f270bd8d1a /graphics/java/android/renderscript/ProgramVertexFixedFunction.java | |
parent | 2fad616237ce2db020eb6c0e03084ece291aee3c (diff) |
Fix the flipping orientation lock.
We were setting ACCELEROMETER_ROTATION to 0 before putting
in the proper USER_ROTATION value, and PhoneWindowManager's
content observer would eagerly rotate the screen to the last
locked orientation before re-rotating to the updated locked
rotation.
Now we set USER_ROTATION first. Additionally, the
content observer is now the only place we set
mUserRotation{,Mode} (previously we would race with it in
setUserRotationMode()).
Bug: 3425657
Change-Id: I04ba1a3631c6d985c2e406c4d148c39fb5c36216
Diffstat (limited to 'graphics/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions