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

Commit b23e4f49 authored by Evan Rosky's avatar Evan Rosky
Browse files

Don't report focusableViewAvailable on add

This reverts a part of 2ae1bf56

RecyclerView relies on the old behavior. Will un-revert this (with
targetSdk check) once we have a solution for RecyclerView

Bug: 38352147
Test: RecyclerView Focus tests now pass
Change-Id: I7b0dfda295cd75e407bbd39a948b5585f8ed6e08
parent f6e20990
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -4936,9 +4936,6 @@ public abstract class ViewGroup extends View implements ViewParent, ViewManager
                needGlobalAttributesUpdate(true);
            }
            ai.mKeepScreenOn = lastKeepOn;
            if (!childHasFocus && child.hasFocusable()) {
                focusableViewAvailable(child);
            }
        }

        if (child.isLayoutDirectionInherited()) {