This CL fixes two bugs in SampleSpellChecker that prevented the sample
spell checker from working in an actual TextView.
1. The order of constructor arguments for SentenceSuggestionsInfo() was
wrong.
2. SuggestionsInfo always needs cookie and sequence attributes from
TextInfo.
Test: manual(Enable the spell checker from Android settings and type
in a TextView)
Bug: None
Change-Id: Ie5c82c683b031d24bcde4a92e5e23f086d1934d6
This CL adds functionality to test both response and dataset
authentication using the inline fill service. Setting either
mAuthenticateResponses or mAuthenticateDatasets will test either
functionality.
Bug: 148815880
Test: manual verification
Change-Id: Ifb734c4fd8d5ef38dd4c6c9d4b493c80abbde305
Increase the number of suggestions for scrolling in
the sample autofill service.
Add scrollable container for the suggestions in the
keyboard suggestion view.
Test: manual
Change-Id: I4f8a2fe191f4b7e5a70b5370a7bd55a2e9dddc9a
* This is just a skeleton IME with a very simple UI, no actual autofill related code is added yet.
Test: manual - build using m -j AutofillKeyboard, and install with adb sync
Change-Id: I8b22532646fc61af9e9c944f8db11ca1702b008f
Since this flag does not do any check during start input,
CL[1] removes this flag and the related parameter for IMM#onPostWindowFocus
to keep the logic simpler (included removing
ViewRootImpl#mHasHadWindowFocus).
Also remove this flag's debug string for For MultiClientInputMethod.
This is refector CL and does not impact any behavior change.
CL[1]: I9119f4846cbbd2b15246dea9a3b1fc5845dce951
Bug: 141738570
Test: Refector CL, make sure all existing test passed.
Change-Id: I9c8c9ac0ce5d0e4a803842d4cefb9119ec51024d
To address IME service context's Resources / DisplayMetrics update
when switching IME window to another display after onConfigurationChange.
We use Context#createDisplayContext to create display specific context when
display changed, to ensure soft keyboard can re-layout with correct resources.
Bug: 126930163
Test: manual with SoftKeyboard as below steps:
1) Settings > Developer options > enable "Simulated Display" & "Force desktop mode".
2) Reboot device
3) Launch app (i.e. Contacts) with bluetooth or usb mouse in Simulated display.
4) Tap EditText on app to see see if IME window layout correctly on simulated display.
5) Launch app (i.e Files) on primary display.
6) Tap EditText on app to see if IME window layout correctly on primary display.
Change-Id: Ic592a1d2fb2da149220c8b503b522b3e864bcc77
Merged-In: Ic592a1d2fb2da149220c8b503b522b3e864bcc77
Introduce per-display active client. Also, deactivate previous client
when window loses focus so that connection can be restarted on next
focus gain.
Test: Manually using the steps in bug.
Bug: 131619304
Change-Id: Iefad3f018ef0cc1b3729af4a140afa1b52139ce0
Merged-In: Iefad3f018ef0cc1b3729af4a140afa1b52139ce0
- Uses the regular expression to match the display unique id.
- Changes the config separator from comma to slash, since comma is used in
virtual display unique id.
- Adds the example config for ActivityView.
Bug: 136039906
Test: manually with the example configs.
Change-Id: I51917d39c5cb11666dcb4fea69545f3075a024a7
After Q-release, WiFi Direct requires FINE location permission.
Bug: 139787683
Test: build and launch
Change-Id: I4599ab24498f07fe0dd9873a356d8f8b34502fff