Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 246a283c authored by Craig Mautner's avatar Craig Mautner Committed by Android Git Automerger
Browse files

am fd5a0b36: Merge "Fix unexpected rotation change when re-enabling auto-rotate"

# By Sangkyu Lee
# Via Gerrit Code Review (1) and Sungmin Choi (1)
* commit 'fd5a0b36':
  Fix unexpected rotation change when re-enabling auto-rotate
parents 887c5236 fd5a0b36
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -98,6 +98,7 @@ public abstract class WindowOrientationListener {
            if (LOG) {
                Log.d(TAG, "WindowOrientationListener enabled");
            }
            mSensorEventListener.reset();
            mSensorManager.registerListener(mSensorEventListener, mSensor, mRate);
            mEnabled = true;
        }