Add toString to ST recog event types
Generate toString for better logging. Bug: 281139493 Fixes: 281338538 Test: Compiles Test: soundtrigger middleware dumpsys Change-Id: Icd66c2874d2702d44bb8acc90fb5944dccebba47
This commit is contained in:
@@ -21,6 +21,7 @@ import android.media.soundtrigger.PhraseRecognitionEvent;
|
||||
* Wrapper to android.media.soundtrigger.RecognitionEvent providing additional fields used by the
|
||||
* framework.
|
||||
*/
|
||||
@JavaDerive(equals = true, toString = true)
|
||||
parcelable PhraseRecognitionEventSys {
|
||||
|
||||
PhraseRecognitionEvent phraseRecognitionEvent;
|
||||
|
||||
@@ -21,6 +21,7 @@ import android.media.soundtrigger.RecognitionEvent;
|
||||
* Wrapper to android.media.soundtrigger.RecognitionEvent providing additional fields used by the
|
||||
* framework.
|
||||
*/
|
||||
@JavaDerive(equals = true, toString = true)
|
||||
parcelable RecognitionEventSys {
|
||||
|
||||
RecognitionEvent recognitionEvent;
|
||||
|
||||
Reference in New Issue
Block a user