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

Commit e9c4c501 authored by Winson Chung's avatar Winson Chung
Browse files

Temporarily disable screen pinning UI in gesture nav

Bug: 130225926
Change-Id: I782a5c6cdf00dfb8e501185f58defed4bfee3ac1
(cherry picked from commit e041ba0d)
parent 731242ee
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -290,6 +290,10 @@ public class TaskSystemShortcut<T extends SystemShortcut> extends SystemShortcut
            if (sysUiProxy == null) {
                return null;
            }
            if (SysUINavigationMode.getMode(activity) == SysUINavigationMode.Mode.NO_BUTTON) {
                // TODO(b/130225926): Temporarily disable pinning while gesture nav is enabled
                return null;
            }
            if (!ActivityManagerWrapper.getInstance().isScreenPinningEnabled()) {
                return null;
            }