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

Commit 6b29c722 authored by Sunny Goyal's avatar Sunny Goyal
Browse files

Fixing bug where the widget background enters into a focused state

if a child calls requestFocus in xml

Bug: 28562293
Change-Id: I005e23550184de29fa15eb70ab322615920b8947
(cherry picked from commit ea98f528)
parent f510921b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -251,7 +251,7 @@ public class LauncherAppWidgetHostView extends AppWidgetHostView implements Touc
    @Override
    public void requestChildFocus(View child, View focused) {
        super.requestChildFocus(child, focused);
        dispatchChildFocus(focused != null);
        dispatchChildFocus(mChildrenFocused && focused != null);
        if (focused != null) {
            focused.setFocusableInTouchMode(false);
        }