commit | b2ab04aefd7899f43f80aca51523eb861c9521c1 | [log] [tgz] |
---|---|---|
author | mike dooley <mdooley@google.com> | Wed Nov 07 15:48:54 2018 +0100 |
committer | mike dooley <mdooley@google.com> | Fri Nov 09 08:36:15 2018 +0100 |
tree | 3ede31d83c59c4e23977caf13609ac031353151f | |
parent | 222608627ff876fcce0eb70e445e6d49bc7cacb9 [diff] [blame] |
Converting sound trigger v2.2 getModelState to be asynchronous Test: built android with checkbuild flag Change-Id: I4c6f2388c93b6e577113fc7f2cd19242628ee50f Bug-Id: 70206501
diff --git a/core/java/android/hardware/soundtrigger/SoundTrigger.java b/core/java/android/hardware/soundtrigger/SoundTrigger.java index 007f4bc..dc4f0b7 100644 --- a/core/java/android/hardware/soundtrigger/SoundTrigger.java +++ b/core/java/android/hardware/soundtrigger/SoundTrigger.java
@@ -611,6 +611,13 @@ * @hide */ public static final int RECOGNITION_STATUS_FAILURE = 2; + /** + * Recognition event was triggered by a getModelState request, not by the + * DSP. + * + * @hide + */ + public static final int RECOGNITION_STATUS_GET_STATE_RESPONSE = 3; /** * A RecognitionEvent is provided by the