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

Commit 3c6f2f22 authored by Matthew Ng's avatar Matthew Ng
Browse files

Fixes recents visibility when overview service connection changes

When the service is connected, it will immediately show the recents
button and when disconnected the button will be invisible.

Test: manual, toggle in launcher settings
Bug: 67957962
Change-Id: Ie36c4f0a50b6c3ae11e5367ae70a57ee16056e09
parent f7314652
Loading
Loading
Loading
Loading
+4 −2
Original line number Original line Diff line number Diff line
@@ -199,8 +199,10 @@ public class NavigationBarView extends FrameLayout implements PluginListener<Nav
        }
        }
    }
    }


    private final OverviewProxyListener mOverviewProxyListener =
    private final OverviewProxyListener mOverviewProxyListener = isConnected -> {
            isConnected -> setSlippery(!isConnected);
        setSlippery(!isConnected);
        setDisabledFlags(mDisabledFlags, true);
    };


    public NavigationBarView(Context context, AttributeSet attrs) {
    public NavigationBarView(Context context, AttributeSet attrs) {
        super(context, attrs);
        super(context, attrs);