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

Commit 5d41bd29 authored by Yuzhou Jia's avatar Yuzhou Jia Committed by Android (Google) Code Review
Browse files

Merge "Add SHOW_SOURCE_NOTIFICATION to indicate that the interaction service...

Merge "Add SHOW_SOURCE_NOTIFICATION to indicate that the interaction service was invoked by a notification."
parents d4b68f5e f9f565ce
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -40106,6 +40106,7 @@ package android.service.voice {
    field public static final int SHOW_SOURCE_ACTIVITY = 16; // 0x10
    field public static final int SHOW_SOURCE_APPLICATION = 8; // 0x8
    field public static final int SHOW_SOURCE_ASSIST_GESTURE = 4; // 0x4
    field public static final int SHOW_SOURCE_NOTIFICATION = 64; // 0x40
    field public static final int SHOW_SOURCE_PUSH_TO_TALK = 32; // 0x20
    field public static final int SHOW_WITH_ASSIST = 1; // 0x1
    field public static final int SHOW_WITH_SCREENSHOT = 2; // 0x2
+6 −0
Original line number Diff line number Diff line
@@ -115,6 +115,12 @@ public class VoiceInteractionSession implements KeyEvent.Callback, ComponentCall
     */
    public static final int SHOW_SOURCE_PUSH_TO_TALK = 1 << 5;

    /**
     * Flag for use with {@link #onShow}: indicates that the voice interaction service was invoked
     * from a notification.
     */
    public static final int SHOW_SOURCE_NOTIFICATION = 1 << 6;

    final Context mContext;
    final HandlerCaller mHandlerCaller;