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

Commit eaa495a8 authored by Schneider Victor-tulias's avatar Schneider Victor-tulias
Browse files

Remove string concatenation uses with ActiveGestureLog

Flag: ENABLE_LONG_PRESS_NAV_HANDLE
Bug: 301953713
Test: checked logs
Change-Id: Id5c3bdf170fdb56305c585f1c34ec9a5310256b8
parent 136bdf80
Loading
Loading
Loading
Loading
+8 −8
Original line number Diff line number Diff line
@@ -923,8 +923,8 @@ public class TouchInteractionService extends Service {
            handleOrientationSetup(base);
        }
        if (mDeviceState.isFullyGesturalNavMode() || newGestureState.isTrackpadGesture()) {
            String reasonPrefix = "device is in gesture navigation mode or 3-button mode with a"
                    + " trackpad gesture";
            String reasonPrefix =
                    "device is in gesture navigation mode or 3-button mode with a trackpad gesture";
            if (mDeviceState.canTriggerAssistantAction(event)) {
                reasonString.append(NEWLINE_PREFIX)
                        .append(reasonPrefix)
@@ -945,8 +945,8 @@ public class TouchInteractionService extends Service {
                    reasonString.append(NEWLINE_PREFIX)
                            .append(reasonPrefix)
                            .append(SUBSTRING_PREFIX)
                            .append("TaskbarActivityContext != null, "
                                    + "using TaskbarUnstashInputConsumer");
                            .append("TaskbarActivityContext != null, ")
                            .append("using TaskbarUnstashInputConsumer");
                    base = new TaskbarUnstashInputConsumer(this, base, mInputMonitorCompat, tac,
                            mOverviewCommandHelper);
                }
@@ -955,8 +955,8 @@ public class TouchInteractionService extends Service {
                reasonString.append(NEWLINE_PREFIX)
                        .append(reasonPrefix)
                        .append(SUBSTRING_PREFIX)
                        .append("Long press nav handle enabled, "
                                + "using NavHandleLongPressInputConsumer");
                        .append("Long press nav handle enabled, ")
                        .append("using NavHandleLongPressInputConsumer");
                base = new NavHandleLongPressInputConsumer(this, base, mInputMonitorCompat);
            }

@@ -1149,8 +1149,8 @@ public class TouchInteractionService extends Service {
        if ((mDeviceState.isFullyGesturalNavMode() || gestureState.isTrackpadGesture())
                && gestureState.getRunningTask() != null) {
            reasonString.append(SUBSTRING_PREFIX)
                    .append("device is in gesture nav mode or 3-button mode with a trackpad gesture"
                            + "and running task != null")
                    .append("device is in gesture nav mode or 3-button mode with a trackpad")
                    .append(" gesture and running task != null")
                    .append(", using DeviceLockedInputConsumer");
            return new DeviceLockedInputConsumer(
                    this, mDeviceState, mTaskAnimationManager, gestureState, mInputMonitorCompat);