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

Commit 776fa5f7 authored by Evan Rosky's avatar Evan Rosky
Browse files

removeAllViews should also clean-up focusedInCluster

Other removes do this, somehow removeAllViews got overlooked

Bug: 37569764
Test: manual tested against docs.
Change-Id: I2f7699affb11dc370c4825ca9be669cf3b756c85
parent 2be0a532
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -5413,6 +5413,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()) {