aboutsummaryrefslogtreecommitdiff
path: root/platform/include/chre/platform/platform_nanoapp.h
diff options
context:
space:
mode:
Diffstat (limited to 'platform/include/chre/platform/platform_nanoapp.h')
-rw-r--r--platform/include/chre/platform/platform_nanoapp.h16
1 files changed, 3 insertions, 13 deletions
diff --git a/platform/include/chre/platform/platform_nanoapp.h b/platform/include/chre/platform/platform_nanoapp.h
index 817226ca..4a7994d7 100644
--- a/platform/include/chre/platform/platform_nanoapp.h
+++ b/platform/include/chre/platform/platform_nanoapp.h
@@ -83,23 +83,13 @@ class PlatformNanoapp : public PlatformNanoappBase, public NonCopyable {
uint32_t getAppVersion() const;
/**
- * Retrieves the API version that this nanoapp was compiled against.
+ * Retrieves the API version that this nanoapp was compiled against. This
+ * function must only be called while the nanoapp is running (i.e. between
+ * calls to start() and end()).
*/
uint32_t getTargetApiVersion() const;
/**
- * Returns true if the nanoapp supports permissions (i.e. minor version >=
- * CHRE_NSL_NANOAPP_INFO_STRUCT_MINOR_VERSION).
- */
- bool supportsAppPermissions() const;
-
- /**
- * Retrieves the nanoapp's permissions. If unsupported, returns with no
- * permissions.
- */
- uint32_t getAppPermissions() const;
-
- /**
* Retrieves the human-friendly name for the nanoapp (null-terminated string).
*/
const char *getAppName() const;