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

Change-Id: I8dad625fd0fa7c56111814ef6b950bd04f2460ae