summaryrefslogtreecommitdiff
path: root/core/java/android/inputmethodservice/AbstractInputMethodService.java
diff options
context:
space:
mode:
authorIoana Stefan <ioanastefan@google.com>2020-11-17 15:18:30 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2020-11-17 15:18:30 +0000
commit06f759835a1d4384b4dfc7fa20b7adb2e9d07828 (patch)
treeaae31b29a620cfcb9b86c94ccafb2cc2742b84ee /core/java/android/inputmethodservice/AbstractInputMethodService.java
parent781e61d2c9fc7d8dd3f6a722d481b101a1e9cca8 (diff)
parent45296595a3c1c969e4ee801303349cf9e8f03d36 (diff)
Merge changes from topics "ime-tracing-interface", "optimized-ime-tracing-clients", "optimized-ime-tracing-imms", "optimized-ime-tracing-ims"
* changes: Log only current client data in IME tracing Optimized workflow for IME tracing on InputMethodManagerService side Optimized workflow for IME tracing on InputMethodService side Optimized workflow for IME tracing on clients side
Diffstat (limited to 'core/java/android/inputmethodservice/AbstractInputMethodService.java')
-rw-r--r--core/java/android/inputmethodservice/AbstractInputMethodService.java9
1 files changed, 4 insertions, 5 deletions
diff --git a/core/java/android/inputmethodservice/AbstractInputMethodService.java b/core/java/android/inputmethodservice/AbstractInputMethodService.java
index cd436374b489..7cf0b10031ac 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;
@@ -195,15 +196,13 @@ public abstract class AbstractInputMethodService extends Service
public abstract AbstractInputMethodSessionImpl onCreateInputMethodSessionInterface();
/**
- * Dumps the internal state of IME to a protocol buffer output stream initialized using the
- * given {@link FileDescriptor}.
+ * Dumps the internal state of IME to a protocol buffer output stream.
*
- * @param fd The file descriptor to which proto dump should be written.
- * @param args The arguments passed to the dump method.
+ * @param proto ProtoOutputStream to dump data to.
* @hide
*/
@SuppressWarnings("HiddenAbstractMethod")
- abstract void dumpProtoInternal(FileDescriptor fd, String[] args);
+ public abstract void dumpProtoInternal(ProtoOutputStream proto);
/**
* Implement this to handle {@link android.os.Binder#dump Binder.dump()}