diff options
| author | Xin Li <delphij@google.com> | 2021-10-06 22:53:28 +0000 |
|---|---|---|
| committer | Xin Li <delphij@google.com> | 2021-10-06 22:53:28 +0000 |
| commit | 531b8f4f2605c44cf73e8421f674a1c7a9c277ff (patch) | |
| tree | 993a3d46a469fda369f8d825e46e9ccee837673d /core/java/android/inputmethodservice/AbstractInputMethodService.java | |
| parent | fa565ffc481836d7d45edd56ea41845fca8878b3 (diff) | |
| parent | ee05ff24d8533f0ede23af81dd721fb92551ba1c (diff) | |
Merge Android 12
Bug: 202323961
Merged-In: Iba1443da42161f4a41830081f2e1985b30444cc0
Change-Id: I2bebe60bb7114706a3ba6af35522268cdf031f41
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. |
