replay: Fixed bug in trimmer which caused playback errors

The trimmed replay logs will now reset all slots to the tracking id -1
before and after the actual log. Which basically means: all fingers removed.
There is a test-case in trimmer_tests to check if all trimmed files actually
end with all fingers removed.

BUG=chromium-os:31732
TEST=make tests

Change-Id: I77d3844d721351620d15812db5cb497174dc42f5
Reviewed-on: https://gerrit.chromium.org/gerrit/28897
Commit-Ready: Dennis Kempin <denniskempin@chromium.org>
Reviewed-by: Dennis Kempin <denniskempin@chromium.org>
Tested-by: Dennis Kempin <denniskempin@chromium.org>
2 files changed
tree: 65417e89280d08d5c1c4305d31adf6edd880d474
  1. framework/
  2. replay/
  3. .gitignore
  4. Makefile
  5. touchtests.template