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

Commit bed836cb authored by Jan Althaus's avatar Jan Althaus Committed by android-build-merger
Browse files

Change default smart select range for logging to [0,0] am: ec3ded86

am: 654d8a3e

Change-Id: Ifeda15bfa4e9de38a95588b3b07754815637e8ab
parents 5d3150d6 654d8a3e
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -211,8 +211,9 @@ public final class SmartSelectionEventTracker {
            return (clamp(mSmartIndices[0] - mOrigStart) << 16)
                    | (clamp(mSmartIndices[1] - mOrigStart) & 0xffff);
        }
        // If no smart selection, return start selection indices (i.e. [0, 1])
        return /* (0 << 16) | */ (1 & 0xffff);
        // If the smart selection model was not run, return invalid selection indices [0,0]. This
        // allows us to tell from the terminal event alone whether the model was run.
        return 0;
    }

    private int getEventDelta(SelectionEvent event) {