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

Change-Id: I577e2d200c9da9d86db4f4892a60851978c9509e