Fix a bug where the TimedEventQueue mistakenly accesses a bogus event if the only event in the queue has been cancelled while we're waiting for its scheduled time. Avoids potential int64_t overflow when converting from us to ns.

Change-Id: I50e8976ce8d0ecc47ee0eb497296930877ce306a
related-to-bug: 2549465
1 file changed
tree: 4d488945c8b209576af68e8375552939c455c38e
  1. camera/
  2. cmds/
  3. include/
  4. media/