Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c5994322 authored by Yohei Yukawa's avatar Yohei Yukawa Committed by Android (Google) Code Review
Browse files

Merge "Show logs when an app tries to show the IME"

parents a9b12bef c211f567
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -828,6 +828,9 @@ public class InsetsController implements WindowInsetsController, InsetsAnimation

    @VisibleForTesting
    public void show(@InsetsType int types, boolean fromIme) {
        if ((types & ime()) != 0) {
            Log.d(TAG, "show(ime(), fromIme=" + fromIme + ")");
        }
        if (fromIme) {
            ImeTracing.getInstance().triggerDump();
            Trace.asyncTraceEnd(TRACE_TAG_VIEW, "IC.showRequestFromApiToImeReady", 0);
+2 −0
Original line number Diff line number Diff line
@@ -1672,10 +1672,12 @@ public final class InputMethodManager {
        checkFocus();
        synchronized (mH) {
            if (!hasServedByInputMethodLocked(view)) {
                Log.w(TAG, "Ignoring showSoftInput() as view=" + view + " is not served.");
                return false;
            }

            try {
                Log.d(TAG, "showSoftInput() view=" + view + " flags=" + flags);
                return mService.showSoftInput(
                        mClient, view.getWindowToken(), flags, resultReceiver);
            } catch (RemoteException e) {