am 8e303cc5: Refactor utilities for InputMethodManagerSerivce that we want to share with the Settings application

* commit '8e303cc5dd4860b6050d5725ce60ca7e6fb00c7b':
  Refactor utilities for InputMethodManagerSerivce that we want to share with the Settings application