package com.amplify.honeydew_server.actions; import com.android.uiautomator.core.*; import com.amplify.honeydew_server.Action; import com.amplify.honeydew_server.Result; import java.util.Map; public class LaunchHome extends Action { public LaunchHome(UiDevice uiDevice) { super(uiDevice); } @Override public Result execute(Map arguments) throws UiObjectNotFoundException { getUiDevice().pressHome(); return Result.OK; } }