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

Commit 6da88a8f authored by Nick Beato's avatar Nick Beato Committed by Android (Google) Code Review
Browse files

Merge "Add INVOCATION_TYPE_LAUNCHER_SYSTEM_SHORTCUT for VIS calls from SysUI launcher." into main

parents c9ed451b 0d919d0f
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -61,6 +61,8 @@ public class AssistUtils {
    public static final int INVOCATION_TYPE_ASSIST_BUTTON = 7;
    /** value for INVOCATION_TYPE_KEY: long press on nav handle */
    public static final int INVOCATION_TYPE_NAV_HANDLE_LONG_PRESS = 8;
    /** value for INVOCATION_TYPE_KEY: sysui launcher */
    public static final int INVOCATION_TYPE_LAUNCHER_SYSTEM_SHORTCUT = 9;

    private final Context mContext;
    private final IVoiceInteractionManagerService mVoiceInteractionManagerService;
+2 −0
Original line number Diff line number Diff line
@@ -130,6 +130,8 @@ public class AssistManager {
            AssistUtils.INVOCATION_TYPE_POWER_BUTTON_LONG_PRESS;
    public static final int INVOCATION_TYPE_NAV_HANDLE_LONG_PRESS =
            AssistUtils.INVOCATION_TYPE_NAV_HANDLE_LONG_PRESS;
    public static final int INVOCATION_TYPE_LAUNCHER_SYSTEM_SHORTCUT =
            AssistUtils.INVOCATION_TYPE_LAUNCHER_SYSTEM_SHORTCUT;

    public static final int DISMISS_REASON_INVOCATION_CANCELLED = 1;
    public static final int DISMISS_REASON_TAP = 2;