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

Commit 15c8747a authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Don't recycle replaced nodes in a11y cache" into oc-mr1-dev

parents adaae4cb 9704426d
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -329,8 +329,6 @@ public final class AccessibilityCache {
                final long oldParentId = oldInfo.getParentNodeId();
                if (info.getParentNodeId() != oldParentId) {
                    clearSubTreeLocked(windowId, oldParentId);
                } else {
                    oldInfo.recycle();
                }
           }

+0 −1
Original line number Diff line number Diff line
@@ -77,7 +77,6 @@ public class AccessibilityCacheTest {
        mAccessibilityCache.clear();
        AccessibilityInteractionClient.getInstance().clearCache();
        assertEquals(0, numA11yWinInfosInUse.get());
        assertEquals(0, numA11yNodeInfosInUse.get());
    }

    @Test