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

Commit e095f0a3 authored by Winson Chung's avatar Winson Chung Committed by android-build-merger
Browse files

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

am: b1d16f8e

Change-Id: I6999074e8354dd6fc7a9529d08722f2a3a65ff6e
parents 39a77a92 b1d16f8e
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;
        }