Change default smart select range for logging to [0,0]
Bug: 64914512 Test: Manually tested that logs are correct. Will follow up with automated tests. Change-Id: I5eb151f49f9dd665c6c76625ebb2b9c0be96a11d
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user