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

Commit f63f20af authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Fix sticky firstEventAfterDiscontinuity setting"

parents aa33e703 9c7e48eb
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -882,6 +882,7 @@ public class SystemSensorManager extends SensorManager {
            }

            // Indicate if the discontinuity count changed
            t.firstEventAfterDiscontinuity = false;
            if (t.sensor.getType() == Sensor.TYPE_HEAD_TRACKER) {
                final int lastCount = mSensorDiscontinuityCounts.get(handle);
                final int curCount = Float.floatToIntBits(values[6]);