DO NOT MERGE Tests for KeyboardManagementPreferenceController

Add tests for KeyboardManagementPreferenceController and its helper
functions in InputMethodUtil. This required changes in
implementation of ShadowInputMethodManager, hence, requiring a bit
of additional changes to KeyboardPreferenceControllerTest and
EnabledKeyboardPreferenceControllerTest.

Bug: 123957435
Test: Roboelectric
Change-Id: I148f0e35fd0addad5a6a52a75a88f5acae1109c2
5 files changed
tree: 9ac5892f97677329df427b9e8fb0a5b65fa3f1e4
  1. res/
  2. src/
  3. tests/
  4. Android.mk
  5. AndroidManifest.xml
  6. PREUPLOAD.cfg