Loading services/core/java/com/android/server/policy/WindowOrientationListener.java +6 −2 Original line number Diff line number Diff line Loading @@ -136,17 +136,21 @@ public abstract class WindowOrientationListener { public void onTouchStart() { synchronized (mLock) { if (mSensorEventListener != null) { mSensorEventListener.onTouchStartLocked(); } } } public void onTouchEnd() { long whenElapsedNanos = SystemClock.elapsedRealtimeNanos(); synchronized (mLock) { if (mSensorEventListener != null) { mSensorEventListener.onTouchEndLocked(whenElapsedNanos); } } } /** * Sets the current rotation. Loading Loading
services/core/java/com/android/server/policy/WindowOrientationListener.java +6 −2 Original line number Diff line number Diff line Loading @@ -136,17 +136,21 @@ public abstract class WindowOrientationListener { public void onTouchStart() { synchronized (mLock) { if (mSensorEventListener != null) { mSensorEventListener.onTouchStartLocked(); } } } public void onTouchEnd() { long whenElapsedNanos = SystemClock.elapsedRealtimeNanos(); synchronized (mLock) { if (mSensorEventListener != null) { mSensorEventListener.onTouchEndLocked(whenElapsedNanos); } } } /** * Sets the current rotation. Loading