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

Commit 7666d6f9 authored by Evan Rosky's avatar Evan Rosky Committed by Android (Google) Code Review
Browse files

Merge "removeAllViews should also clean-up focusedInCluster" into oc-dev

parents 2d5c0d89 776fa5f7
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -5414,6 +5414,9 @@ public abstract class ViewGroup extends View implements ViewParent, ViewManager
        if (mDefaultFocus != null) {
            clearDefaultFocus(mDefaultFocus);
        }
        if (mFocusedInCluster != null) {
            clearFocusedInCluster(mFocusedInCluster);
        }
        if (clearChildFocus) {
            clearChildFocus(focused);
            if (!rootViewRequestFocus()) {