Port "Option to control cursor in text fields using volume keys (2/2)"

Change-Id: I0b89e52cded5cd7ad401145a8244109c786af0ca