SPR 竖屏横显 后 手动测试项(CTSV) Accelerometer Measurement Test 测试起始方向没有以横屏为第一测试,还是以竖屏方向测试
diff --git a/frameworks/base/core/java/android/hardware/SystemSensorManager.java b/frameworks/base/core/java/android/hardware/SystemSensorManager.java
old mode 100644
new mode 100755
index 35ff5fe2b2a..624e9e97897
--- a/frameworks/base/core/java/android/hardware/SystemSensorManager.java
+++ b/frameworks/base/core/java/android/hardware/SystemSensorManager.java
@@ -868,11 +868,39 @@ public class SystemSensorManager extends SensorManager {
static final class SensorEventQueue extends BaseEventQueue {
private final SensorEventListener mListener;
private final SparseArray mSensorsEvents = new SparseArray();
+
+ //add ctsv acc start
+ private boolean isCtsTest = false;
+ private int user_rotation = 1;
+ //add ctsv