summaryrefslogtreecommitdiff
path: root/core/java/android/inputmethodservice/AbstractInputMethodService.java
diff options
context:
space:
mode:
authorIoana Stefan <ioanastefan@google.com>2020-10-08 14:30:36 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2020-10-08 14:30:36 +0000
commit823982d3f509fe3b0f29221f666a0bdbf77448e0 (patch)
treeaf6da5bbc4177472edbd1f8892bd2439a372c7c4 /core/java/android/inputmethodservice/AbstractInputMethodService.java
parent20fe80ac6317d184ad698db27259fa8748ad52e5 (diff)
parent5e68eeac86cc0179e25a1719bb5182ea9405ee78 (diff)
Merge "Add proto-based InputMethodService and server side dumping for IME"
Diffstat (limited to 'core/java/android/inputmethodservice/AbstractInputMethodService.java')
-rw-r--r--core/java/android/inputmethodservice/AbstractInputMethodService.java12
1 files changed, 11 insertions, 1 deletions
diff --git a/core/java/android/inputmethodservice/AbstractInputMethodService.java b/core/java/android/inputmethodservice/AbstractInputMethodService.java
index d7ca63a54987..3ca5207d867c 100644
--- a/core/java/android/inputmethodservice/AbstractInputMethodService.java
+++ b/core/java/android/inputmethodservice/AbstractInputMethodService.java
@@ -193,7 +193,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 initialized using the
+ * given {@link FileDescriptor}.
+ *
+ * @param fd The file descriptor to which proto dump should be written.
+ * @param args The arguments passed to the dump method.
+ * @hide
+ */
+ abstract void dumpProtoInternal(FileDescriptor fd, String[] args);
+
/**
* Implement this to handle {@link android.os.Binder#dump Binder.dump()}
* calls on your input method.