Skip to content

Commit

Permalink
minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pkufool committed Jan 15, 2024
1 parent 05bf820 commit b063e3e
Showing 1 changed file with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -108,12 +108,10 @@ class MainActivity : AppCompatActivity() {
val status = model.reset(keywords)
if (!status) {
Log.i(TAG, "Failed to reset with keywords.")
Toast.makeText(this,
"""Failed to setKeywords :\n ${keywords}, \n
The stream is not reset, \n
please change the keywords and try again.
""",
Toast.LENGTH_LONG).show();
val message = "Failed to setKeywords :\n ${keywords}, \n"
+ "The stream is not reset, \n"
+ "please change the keywords and try again."
Toast.makeText(this, message, Toast.LENGTH_LONG).show();
}

recordingThread = thread(true) {
Expand Down

0 comments on commit b063e3e

Please sign in to comment.