summaryrefslogtreecommitdiffstats
path: root/data
diff options
context:
space:
mode:
authorRoman Birg <roman@cyngn.com>2015-10-07 13:07:20 -0700
committerSteve Kondik <steve@cyngn.com>2015-10-28 13:30:35 -0700
commiteb539ec0e6cc2c8a44aedcb06c6eaebb84ebea6d (patch)
tree1a41c328036a76c991d2006549bea57a97f5adad /data
parent5fbea51a0872388f91863a83414d27a30a998185 (diff)
downloadframeworks_base-eb539ec0e6cc2c8a44aedcb06c6eaebb84ebea6d.zip
frameworks_base-eb539ec0e6cc2c8a44aedcb06c6eaebb84ebea6d.tar.gz
frameworks_base-eb539ec0e6cc2c8a44aedcb06c6eaebb84ebea6d.tar.bz2
Window rotation: fix up sensor logic
The previous logic was incorrect because it would always use the lastRotation when the activity requested SCREEN_ORENTATION_FULL_SENSOR or SCREEN_ORENTATION_FULL_USER, but it should have used the sensorRotation in that case. Adjust the logic to be closer to the AOSP implementation to use the sensorRotation when the activity has set so, or the user has specifically expressed they want their device to rotate to that orientation Ref: CYNGNOS-1163 Change-Id: Ic0e38fdc97b03cda3fa0f85c0f2d327f66a23f6a Signed-off-by: Roman Birg <roman@cyngn.com>
Diffstat (limited to 'data')
0 files changed, 0 insertions, 0 deletions