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

Commit 4785e124 authored by Felix Stern's avatar Felix Stern
Browse files

Minor IME related protolog changes

Bug: 353463205
Change-Id: I476879c24cef7a80c56975a3823e01d1a41c61f2
Flag: EXEMPT logs only
Test: None, logs only
parent ed20970b
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -115,7 +115,7 @@ final class ImeInsetsSourceProvider extends InsetsSourceProvider {
                // If the server visibility didn't change (still visible), and mGivenInsetsReady
                // is set, we won't call into notifyControlChanged. Therefore, we can reset the
                // statsToken, if available.
                ProtoLog.d(WM_DEBUG_IME, "onPostLayout cancel statsToken, ws=%s", ws);
                ProtoLog.w(WM_DEBUG_IME, "onPostLayout cancel statsToken, ws=%s", ws);
                ImeTracker.forLogging().onCancelled(mStatsToken,
                        ImeTracker.PHASE_WM_POST_LAYOUT_NOTIFY_CONTROLS_CHANGED);
                mStatsToken = null;
@@ -293,8 +293,9 @@ final class ImeInsetsSourceProvider extends InsetsSourceProvider {
                } else {
                    ProtoLog.w(WM_DEBUG_IME,
                            "Tried to update client visibility for non-IME input target %s "
                                    + "(current target: %s)",
                            caller, mDisplayContent.getImeInputTarget());
                                    + "(current target: %s, IME requested: %s)", caller,
                            mDisplayContent.getImeInputTarget(),
                            caller.isRequestedVisible(WindowInsets.Type.ime()));
                    ImeTracker.forLogging().onFailed(statsToken,
                            ImeTracker.PHASE_SERVER_UPDATE_CLIENT_VISIBILITY);
                }
+1 −1
Original line number Diff line number Diff line
@@ -255,7 +255,7 @@ class InsetsStateController {
        InsetsControlTarget target = imeTarget != null ? imeTarget : mEmptyImeControlTarget;
        onControlTargetChanged(getImeSourceProvider(), target, false /* fake */);
        ProtoLog.d(WM_DEBUG_IME, "onImeControlTargetChanged %s",
                target != null ? target.getWindow() : "null");
                target != null && target.getWindow() != null ? target.getWindow() : target);
        notifyPendingInsetsControlChanged();
    }