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

Commit fe893258 authored by Rhed Jao's avatar Rhed Jao
Browse files

Fix ArrayIndexOutOfBoundsException in A11yCache

Bug: 127761516
Test: atest MediaStoreUiTest#testGetDocumentUri
Change-Id: I55824d4932bc7c430ac7f357237b444bedc71b58
parent 0a68a093
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -360,7 +360,7 @@ public class AccessibilityCache {
            }
            clearWindowCache();
            final int nodesForWindowCount = mNodeCache.size();
            for (int i = 0; i < nodesForWindowCount; i++) {
            for (int i = nodesForWindowCount - 1; i >= 0; i--) {
                final int windowId = mNodeCache.keyAt(i);
                clearNodesForWindowLocked(windowId);
            }