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

Commit 3edcd8cf authored by Svetoslav's avatar Svetoslav
Browse files

Add missing locking when updating the accessibility node info cache.

bug:10489954

Change-Id: Iccf55d074ea712566f441b9f6616a4c1fe847e0a
parent b3a69c5d
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -86,7 +86,9 @@ public class AccessibilityNodeInfoCache {
                    refreshCachedNode(event.getSourceNodeId());
                } break;
                case AccessibilityEvent.TYPE_VIEW_SCROLLED: {
                    synchronized (mLock) {
                        clearSubTreeLocked(event.getSourceNodeId());
                    }
                } break;
                case AccessibilityEvent.TYPE_WINDOW_CONTENT_CHANGED: {
                    synchronized (mLock) {