Commit Graph

3 Commits

Author SHA1 Message Date
Tony Mantler
1bb992d802 Add AvailableVirtualKeyboardFragment to TV
Allows enabling/disabling IMEs on TV.
Moves InputMethodPreference to SettingsLib.
Also minor code tidying

Bug: 36079941
Test: Keyboard settings still work on Fugu and Ryu
Change-Id: I0c7e66c10ca9fe7404dc8e1e384922a7e37f5f5a
2017-03-31 14:19:26 -07:00
Maurice Lam
9c1310e864 Fix vararg build warning
Fix the following build warning:
[...]/InputMethodAndSubtypeUtil.java:399: warning: non-varargs call
of varargs method with inexact argument type for last parameter;
    ListFormatter.getInstance(locale).format(subtypeNames), locale);
                                                   ^
cast to Object for a varargs call
cast to Object[] for a non-varargs call and to suppress this warning

Test: Existing tests pass (cd tests/robotests && mma)
Change-Id: Ie13ff713d3dbbe1f308fcd105656a484b89c8f1d
2017-02-28 17:12:31 -08:00
Tony Mantler
b8592357c3 Move InputMethodAndSubtypeEnabler to SettingsLib and port to TV
Bug: 35315463
Test: adb shell am start -a android.settings.INPUT_METHOD_SUBTYPE_SETTINGS
Change-Id: Ibd62633259fe06b3971130eab158f077ef066a95
2017-02-17 14:04:00 -08:00