Merge "Add missing logging for SET_TTY_MODE and QUERY_TTY_MODE"