Don't exit with error if empty touch log found

When extracting touch logs from a feedback report, if there is an empty
touchscreen or touchpad log, mtreplay will exit with an error.

This CL checks for empty logs and alerts the user if one is found, then
allows the user to continue with other touch logs.

BUG=chromium:812370
TEST=Run mtreplay and mtedit on feedback reports with empty touch logs.

Change-Id: I4576beab8eee0b288c1979f349ae65568e53145e
Reviewed-on: https://chromium-review.googlesource.com/919831
Commit-Ready: Sean O'Brien <seobrien@chromium.org>
Tested-by: Sean O'Brien <seobrien@chromium.org>
Reviewed-by: Andrew de los Reyes <adlr@chromium.org>
1 file changed
tree: b77b829ae26e2762ab0e1a3d6451ef11bd5f0e6f
  1. mtbringup/
  2. mtedit/
  3. mtlib/
  4. mtreplay/
  5. mtstat/
  6. platforms/
  7. .gitignore
  8. __init__.py
  9. common.mk
  10. Makefile
  11. PRESUBMIT.cfg