aboutsummaryrefslogtreecommitdiff
path: root/platform/slpi/include/chre/target_platform/static_nanoapp_init.h
diff options
context:
space:
mode:
Diffstat (limited to 'platform/slpi/include/chre/target_platform/static_nanoapp_init.h')
-rw-r--r--platform/slpi/include/chre/target_platform/static_nanoapp_init.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/platform/slpi/include/chre/target_platform/static_nanoapp_init.h b/platform/slpi/include/chre/target_platform/static_nanoapp_init.h
index 59dc21cd..98ad95be 100644
--- a/platform/slpi/include/chre/target_platform/static_nanoapp_init.h
+++ b/platform/slpi/include/chre/target_platform/static_nanoapp_init.h
@@ -30,9 +30,8 @@
* when creating the global instance of the nanoapp.
* @param appId the app's unique 64-bit ID
* @param appVersion the application-defined 32-bit version number
- * @param appPerms the declared CHRE_PERMS_ permissions for the nanoapp.
*/
-#define CHRE_STATIC_NANOAPP_INIT(appName, appId_, appVersion_, appPerms) \
+#define CHRE_STATIC_NANOAPP_INIT(appName, appId_, appVersion_) \
namespace chre { \
\
UniquePtr<Nanoapp> initializeStaticNanoapp##appName() { \
@@ -51,7 +50,6 @@
appInfo.entryPoints.handleEvent = nanoappHandleEvent; \
appInfo.entryPoints.end = nanoappEnd; \
appInfo.appVersionString = "<undefined>"; \
- appInfo.appPermissions = appPerms; \
if (nanoapp.isNull()) { \
FATAL_ERROR("Failed to allocate nanoapp " #appName); \
} else { \