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

Commit f024d30b authored by Sandeep Siddhartha's avatar Sandeep Siddhartha Committed by Android (Google) Code Review
Browse files

Merge "Use keyphrase id from the recognition event" into lmp-dev

parents 8b4eae77 2e14dd46
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -255,8 +255,7 @@ public class SoundTriggerHelper implements SoundTrigger.StatusListener {
                    return;
                }
                // TODO: Handle more than one keyphrase extras.
                // TODO: Use keyphraseExtras[0].id here instead of 100.
                int keyphraseId = 100;
                int keyphraseId = keyphraseExtras[0].id;
                try {
                    synchronized(this) {
                        // Check which keyphrase triggered, and fire the appropriate event.