diff --git a/demo/android/EagleDemo/eagle-demo-app/src/main/java/ai/picovoice/eagledemo/MainActivity.java b/demo/android/EagleDemo/eagle-demo-app/src/main/java/ai/picovoice/eagledemo/MainActivity.java index 1a40f85..1256dd5 100644 --- a/demo/android/EagleDemo/eagle-demo-app/src/main/java/ai/picovoice/eagledemo/MainActivity.java +++ b/demo/android/EagleDemo/eagle-demo-app/src/main/java/ai/picovoice/eagledemo/MainActivity.java @@ -114,7 +114,7 @@ private void setUIState(UIState state) { private void handleEagleException(EagleException e) { if (e instanceof EagleInvalidArgumentException) { - displayError(String.format(e.getMessage()); + displayError(e.getMessage()); } else if (e instanceof EagleActivationException) { displayError("AccessKey activation error"); } else if (e instanceof EagleActivationLimitException) {