OSDN Git Service

ContextHubService: Allow cancelling load/unload
authorGreg Kaiser <gkaiser@google.com>
Fri, 26 Aug 2016 06:04:08 +0000 (23:04 -0700)
committerGreg Kaiser <gkaiser@google.com>
Mon, 29 Aug 2016 17:16:27 +0000 (10:16 -0700)
commit29e868071d64ebbcf6191bb5b7542875ad6fcef8
treea03ffb9053c6e1f818e86a735b6360e3f86ef577
parentb334c33d65894f5ca9833fa55c3a1cf75e01c497
ContextHubService: Allow cancelling load/unload

As a minimal risk improvement for Android N, we allow a new
load/unload transaction request to cancel a currently pending
one if enough time has passed since starting the current
transaction.

Bug: 30111539
Change-Id: Ide958c2454b88529305443fb789b8ae5af18c642
core/jni/android_hardware_location_ContextHubService.cpp