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

Commit b1d16f8e authored by Winson Chung's avatar Winson Chung Committed by Android (Google) Code Review
Browse files

Merge "Disable long press recents whenever overview service is bound" into pi-dev

parents 5995d21a 074c4344
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -926,7 +926,9 @@ public class NavigationBarFragment extends Fragment implements Callbacks {
    private boolean onLongPressRecents() {
        if (mRecents == null || !ActivityManager.supportsMultiWindow(getContext())
                || !mDivider.getView().getSnapAlgorithm().isSplitScreenFeasible()
                || Recents.getConfiguration().isLowRamDevice) {
                || Recents.getConfiguration().isLowRamDevice
                // If we are connected to the overview service, then disable the recents button
                || mOverviewProxyService.getProxy() != null) {
            return false;
        }