OSDN Git Service

contexthub: Pass target API version in new fields
authorBrian Duddie <bduddie@google.com>
Sat, 19 Aug 2017 00:57:00 +0000 (17:57 -0700)
committerBrian Duddie <bduddie@google.com>
Wed, 23 Aug 2017 00:26:23 +0000 (00:26 +0000)
commita2d49d10076d12844db30be949682e954df1d7a7
tree8127407d2defc0a11a7317ea54cb3f2543b2a608
parente637aa32b86dec4778ac8dd934266bb3755bc773
contexthub: Pass target API version in new fields

Update default implementation to use the new fields defined explicitly
for passing in target CHRE API version information, rather than adding
this data into the reserved area.

Bug: 64852297
Test: run CHQTS on Nanohub, rebuild test app targeting 1.2 and confirm
      it's interpreted correctly
Change-Id: Id11f9b510a2d239d285436e119b7b8dbece4c5df
contexthub/1.0/default/Contexthub.cpp