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

Commit c60c33e1 authored by Svetoslav's avatar Svetoslav Committed by Android Git Automerger
Browse files

am b4bd1427: Merge "Fix live region updates." into lmp-dev

* commit 'b4bd1427c267cd7db900aa075a5dc4fc3f8e80ca':
  Fix live region updates.
parents 16b9675e 040a7f05
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -20691,6 +20691,7 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
            if (mPosted) {
            if (mPosted) {
                return;
                return;
            }
            }
            final long timeSinceLastMillis = SystemClock.uptimeMillis() - mLastEventTimeMillis;
            final long timeSinceLastMillis = SystemClock.uptimeMillis() - mLastEventTimeMillis;
            final long minEventIntevalMillis =
            final long minEventIntevalMillis =
                    ViewConfiguration.getSendRecurringAccessibilityEventsInterval();
                    ViewConfiguration.getSendRecurringAccessibilityEventsInterval();
@@ -20699,7 +20700,6 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
                run();
                run();
            } else {
            } else {
                postDelayed(this, minEventIntevalMillis - timeSinceLastMillis);
                postDelayed(this, minEventIntevalMillis - timeSinceLastMillis);
                mPosted = true;
                mPostedWithDelay = true;
                mPostedWithDelay = true;
            }
            }
        }
        }