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

Commit 1ecebbb2 authored by John Reck's avatar John Reck
Browse files

Fix FOCUS_BACKWARD search if view had no id

 Bug: 6126875

Change-Id: I113a7125d71dc3e6cc34d31a669e844a4a882266
parent 4f03d35f
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -5247,6 +5247,7 @@ public class View implements Drawable.Callback, Drawable.Callback2, KeyEvent.Cal
                if (mNextFocusForwardId == View.NO_ID) return null;
                return findViewInsideOutShouldExist(root, mNextFocusForwardId);
            case FOCUS_BACKWARD: {
                if (mID == View.NO_ID) return null;
                final int id = mID;
                return root.findViewByPredicateInsideOut(this, new Predicate<View>() {
                    @Override