Remove a trailing "auto space" at the end of the line when the user added a new line.
Remove a trailing "auto space" at the end of the line when the user added a new line.

Bug: 2384116

klausw/hackerskeyboard,klausw/hackerskeyboard,klausw/hackerskeyboard,klausw/hackerskeyboard