Disabling popped preview key since it is currently broken.

Test script:
Step 1: Patch this CL, ag/11800786 and ag/11802630 on rvc-dev repo
Step 2: Build and flash Hawk
Step 3: Build and install a sample multi-client IME
  make -j MultiClientInputMethod
  adb install -r $OUT/system/priv-app/MultiClientInputMethod/MultiClientInputMethod.apk
Step 4: Enable multi-client IME for the side-loaded sample multi-client IME
  adb root
  adb shell setprop persist.debug.multi_client_ime com.example.android.multiclientinputmethod/.MultiClientInputMethod
  adb reboot
Step 5: Open KitchenSync app, select carboard, enter text on Plain Text
tab (sample multi-session keyboard doesn't support numeric keyboard yet)

Bug: 158663354
Test: manual (see test script above)
Change-Id: I11cf467acb1091b1d417e5039519e09fa7be2bf8
This commit is contained in:
Antonio Kantek
2020-06-10 10:07:45 -07:00
parent 8db232dd34
commit c448acb573

View File

@@ -78,6 +78,10 @@ final class SoftInputWindow extends Dialog {
mSymbolShiftKeyboard = new Keyboard(context, R.xml.symbols_shift); mSymbolShiftKeyboard = new Keyboard(context, R.xml.symbols_shift);
mKeyboardView.setKeyboard(mQwertygKeyboard); mKeyboardView.setKeyboard(mQwertygKeyboard);
mKeyboardView.setOnKeyboardActionListener(sNoopListener); mKeyboardView.setOnKeyboardActionListener(sNoopListener);
// TODO(b/158663354): Disabling keyboard popped preview key since it is currently broken.
mKeyboardView.setPreviewEnabled(false);
layout.addView(mKeyboardView); layout.addView(mKeyboardView);
setContentView(layout, new ViewGroup.LayoutParams( setContentView(layout, new ViewGroup.LayoutParams(