diff options
Diffstat (limited to 'cmds/installd/commands.h')
-rw-r--r-- | cmds/installd/commands.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cmds/installd/commands.h b/cmds/installd/commands.h index c0c39c5e67..e990f1b695 100644 --- a/cmds/installd/commands.h +++ b/cmds/installd/commands.h @@ -28,6 +28,8 @@ namespace android { namespace installd { +static constexpr size_t DEXOPT_PARAM_COUNT = 10U; + int create_app_data(const char *uuid, const char *pkgname, userid_t userid, int flags, appid_t appid, const char* seinfo, int target_sdk_version); int restorecon_app_data(const char* uuid, const char* pkgName, userid_t userid, int flags, @@ -69,7 +71,7 @@ int dexopt(const char *apk_path, static_assert(DEXOPT_PARAM_COUNT == 10U, "Unexpected dexopt param size"); // Helper for the above, converting arguments. -int dexopt(const char* params[DEXOPT_PARAM_COUNT]); +int dexopt(const char* const params[DEXOPT_PARAM_COUNT]); int mark_boot_complete(const char *instruction_set); int linklib(const char* uuid, const char* pkgname, const char* asecLibDir, int userId); |