This code just aims to find the textbox and send some text to it. When it does that the keyboard appears on the android device.How to dismiss it after the sendKeys.
Best way is to use the back button.
driver.navigate().back(); // For older version of appium