Skip to content

Commit 68fd304

Browse files
committed
always return to home after running command
1 parent a82426f commit 68fd304

File tree

1 file changed

+1
-1
lines changed
  • android_smart_glasses/main/app/src/main/java/com/wearableintelligencesystem/androidsmartglasses

1 file changed

+1
-1
lines changed

android_smart_glasses/main/app/src/main/java/com/wearableintelligencesystem/androidsmartglasses/MainActivity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -856,7 +856,7 @@ private void showVoiceCommandInterface(JSONObject data){
856856
@Override
857857
public void run() {
858858
Log.d(TAG, "TEXT_RESPONSE_EVENT_TYPE switchMode");
859-
switchMode(curr_mode);
859+
switchMode(MessageTypes.MODE_HOME);
860860
}
861861
}, commandResolveTime);
862862
} else if (voiceInputType.equals(MessageTypes.WAKE_WORD_EVENT_TYPE)){ //if it was a wake word

0 commit comments

Comments
 (0)