diff options
| author | Xin Li <delphij@google.com> | 2021-08-17 18:14:29 +0000 |
|---|---|---|
| committer | Android (Google) Code Review <android-gerrit@google.com> | 2021-08-17 18:14:29 +0000 |
| commit | e7449820a486c08dc487c96c7d961533566500bf (patch) | |
| tree | 48d3862c952069a5112023c268a530215a39ef12 /core/java/android/inputmethodservice/AbstractInputMethodService.java | |
| parent | c6a9f2e81ced4a8628046ef3943b2e4686414eb0 (diff) | |
| parent | 773a9dfba73c24974f2305cc5f28a365a77db7a8 (diff) | |
Merge "Merge sc-dev-plus-aosp-without-vendor@7634622" into stage-aosp-master
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. |
