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

Commit d626cdd7 authored by Vinit Nayak's avatar Vinit Nayak Committed by Android (Google) Code Review
Browse files

Merge "Disable OrientationEventListener in RotationTouchHelper#destroy()" into main

parents c6b29e37 14e43ef0
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -180,6 +180,7 @@ public class RotationTouchHelper implements DisplayInfoChangeListener, SafeClose
                }
            }
        };
        runOnDestroy(() -> mOrientationListener.disable());
        mNeedsInit = false;
    }

@@ -212,6 +213,7 @@ public class RotationTouchHelper implements DisplayInfoChangeListener, SafeClose
            r.run();
        }
        mNeedsInit = true;
        mOnDestroyActions.clear();
    }

    public boolean isTaskListFrozen() {