app/src/main/java/com/example/jarvis_stts/JarviceService.kt aktualisiert
This commit is contained in:
@@ -149,7 +149,7 @@ class JarvisService : Service(), RecognitionListener {
|
||||
}
|
||||
|
||||
// Unser Regex-Check (den passen wir gleich an)
|
||||
if (Regex("\\b(jarvis|computer)\\b").containsMatchIn(partialText)) {
|
||||
if (Regex("\\b(hey joe avis)\\b").containsMatchIn(partialText)) {
|
||||
Log.d("JARVIS", "WAKE WORD ERKANNT: $partialText")
|
||||
triggerJarvis()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user