diff options
| author | Xin Li <delphij@google.com> | 2021-08-14 06:31:03 +0000 |
|---|---|---|
| committer | Xin Li <delphij@google.com> | 2021-08-14 07:23:27 +0000 |
| commit | 773a9dfba73c24974f2305cc5f28a365a77db7a8 (patch) | |
| tree | c17f1b3656c02cd9db89da0199099bdf070a2216 /core/java/android/inputmethodservice/AbstractInputMethodService.java | |
| parent | f3da868dad0e2f86e45ac1c3829444e43134f0b2 (diff) | |
| parent | 5c822bf4ea67a3ef0380f0fe9a5c73191ddd50ce (diff) | |
Merge sc-dev-plus-aosp-without-vendor@7634622
Merged-In: I661f5fb6b1f3f6ce4322fab8fa84a7ab364c65b1
Change-Id: I16482b494ff4821016aabbb646e495d616c630ac
Diffstat (limited to 'core/java/android/inputmethodservice/AbstractInputMethodService.java')
| -rw-r--r-- | core/java/android/inputmethodservice/AbstractInputMethodService.java | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/core/java/android/inputmethodservice/AbstractInputMethodService.java b/core/java/android/inputmethodservice/AbstractInputMethodService.java index d7ca63a54987..3cd13a212a4b 100644 --- a/core/java/android/inputmethodservice/AbstractInputMethodService.java +++ b/core/java/android/inputmethodservice/AbstractInputMethodService.java @@ -21,6 +21,7 @@ import android.annotation.NonNull; import android.app.Service; import android.content.Intent; import android.os.IBinder; +import android.util.proto.ProtoOutputStream; import android.view.KeyEvent; import android.view.MotionEvent; import android.view.inputmethod.InputConnection; @@ -193,7 +194,17 @@ public abstract class AbstractInputMethodService extends Service * needed for a new client of the input method. */ public abstract AbstractInputMethodSessionImpl onCreateInputMethodSessionInterface(); - + + /** + * Dumps the internal state of IME to a protocol buffer output stream. + * + * @param proto ProtoOutputStream to dump data to. + * @param icProto {@link InputConnection} call data in proto format. + * @hide + */ + @SuppressWarnings("HiddenAbstractMethod") + public abstract void dumpProtoInternal(ProtoOutputStream proto, ProtoOutputStream icProto); + /** * Implement this to handle {@link android.os.Binder#dump Binder.dump()} * calls on your input method. |
