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

Change-Id: Ib8ab93eb635af8c87df15d72c46312ce7f95546c