diff options
| author | Jules Aguillon | 2026-04-10 19:04:03 +0200 |
|---|---|---|
| committer | GitHub | 2026-04-10 19:04:03 +0200 |
| commit | 8921de7f02570ba03816ebb4025f2c95bc131707 (patch) | |
| tree | d585021568978f3ce32b8c38ff02f73a98ddd43d /srcs/juloo.keyboard2/Logs.java | |
| parent | afa7c0187a3027e5ec826f4b19449c97e4419618 (diff) | |
| download | unexpected-keyboard-8921de7f02570ba03816ebb4025f2c95bc131707.tar.gz unexpected-keyboard-8921de7f02570ba03816ebb4025f2c95bc131707.zip | |
Handle Google Keep bug (#1230)
The Google Keep text area sends contradictory flags to keyboards,
resulting in the suggestions to be disabled.
This seems to be a bug in Google Keep.
Diffstat (limited to 'srcs/juloo.keyboard2/Logs.java')
| -rw-r--r-- | srcs/juloo.keyboard2/Logs.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/srcs/juloo.keyboard2/Logs.java b/srcs/juloo.keyboard2/Logs.java index 72813b9..027fa55 100644 --- a/srcs/juloo.keyboard2/Logs.java +++ b/srcs/juloo.keyboard2/Logs.java @@ -1,5 +1,6 @@ package juloo.keyboard2; +import android.text.InputType; import android.util.Log; import android.util.LogPrinter; import android.view.inputmethod.EditorInfo; @@ -23,6 +24,9 @@ public final class Logs info.dump(_debug_logs, ""); if (info.extras != null) _debug_logs.println("extras: "+info.extras.toString()); + _debug_logs.println("class: "+(info.inputType & InputType.TYPE_MASK_CLASS)); + _debug_logs.println("flags: "+(info.inputType & InputType.TYPE_MASK_FLAGS)); + _debug_logs.println("variation: "+(info.inputType & InputType.TYPE_MASK_VARIATION)); } public static void debug_config_migration(int from_version, int to_version) |
