diff options
author | Brian Duddie <bduddie@google.com> | 2017-01-03 10:12:45 -0800 |
---|---|---|
committer | Brian Duddie <bduddie@google.com> | 2017-01-11 01:02:49 +0000 |
commit | c21ff099ec5bfcae172d894de0a46ba98730577e (patch) | |
tree | b2f60c9b3ca92e791ed8aac321e28f38b99b4946 /contexthub | |
parent | 3cb3b55ca4e1e9b341839e12342e1ec9c0842ed8 (diff) | |
download | android_hardware_interfaces-c21ff099ec5bfcae172d894de0a46ba98730577e.tar.gz android_hardware_interfaces-c21ff099ec5bfcae172d894de0a46ba98730577e.tar.bz2 android_hardware_interfaces-c21ff099ec5bfcae172d894de0a46ba98730577e.zip |
contexthub: Clarify nanoapp persistence
Add documentation to loadNanoApp() detailing the expected behavior
surrounding persistence of nanoapps across context hub reboots.
Test: none, documentation change only
Change-Id: I17db7d024cf7486749aff3816cc58b50f2f44fac
Diffstat (limited to 'contexthub')
-rw-r--r-- | contexthub/1.0/IContexthub.hal | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/contexthub/1.0/IContexthub.hal b/contexthub/1.0/IContexthub.hal index 8c792fd38..2c864a262 100644 --- a/contexthub/1.0/IContexthub.hal +++ b/contexthub/1.0/IContexthub.hal @@ -62,6 +62,13 @@ interface IContexthub { * * Loading a nanoapp must not take more than 30 seconds. * + * Depending on the implementation, nanoApps loaded via this API may or may + * not persist across reboots of the hub. If they do persist, the + * implementation must initially place nanoApps in the disabled state upon a + * reboot, and not start them until a call is made to enableNanoApp(). In + * this case, the app must also be unloaded upon a factory reset of the + * device. + * * @param hubId identifer of the contextHub * appBinary serialized NanoApppBinary for the nanoApp * transactionId transactionId for this call |