OSDN Git Service

SensorManager: handle 270 and 180 rotation in the legacy APIs
authorMathias Agopian <mathias@google.com>
Fri, 26 Feb 2010 22:16:50 +0000 (14:16 -0800)
committerMathias Agopian <mathias@google.com>
Sat, 27 Feb 2010 01:10:38 +0000 (17:10 -0800)
commit7895da44e32e9c76e07663aae7084f11cbacbbdb
tree3e6a579172ef35d2c2724b55a3c3ebd5de8a4418
parent210fc914db37b3cf77ebb3bf75b0b509a1ecb07c
SensorManager: handle 270 and 180 rotation in the legacy APIs

Technically these APIs are deprecated, however old apps might still be using them
so we might as well make sure they work in all orientations.
core/java/android/hardware/SensorManager.java