~kdub/mir/sil0-fix-rotation

Viewing all changes in revision 2685.

  • Committer: Tarmac
  • Author(s): Daniel van Vugt
  • Date: 2015-06-19 03:56:22 UTC
  • mfrom: (2677.2.2 finish-comes-last)
  • Revision ID: tarmac-20150619035622-ksm8ma2as3ebuks7
sendFinishedSignal only when the client input handler is finished.

For two main reaons:
  1. It allows the server to measure how long the client took to process
     an event, and so can wake lock accordingly for the lowest latency.
  2. It allows the server to know if the event was used at all, or should
     be passed on to some other target.
Although neither of those are implemented yet in Mir...

From the Android header:

  /* Sends a finished signal to the publisher to inform it that the message
   * with the specified sequence number has finished being process and whether
   * the message was handled by the consumer.
   *
   * Returns OK on success.
   * Returns BAD_VALUE if seq is 0.
   * Other errors probably indicate that the channel is broken.
   */
  status_t sendFinishedSignal(uint32_t seq, bool handled);. Fixes: https://bugs.launchpad.net/bugs/1465514.

Approved by Andreas Pokorny, PS Jenkins bot.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: