HAL info structure can not have pointers
Ideally this would become variable sized array,
but JNI is expecting fixed-size array here,
so, define reasonable size (2), which fits all the
known cases.
Change-Id: I1752d5bef9db60570b03a8dc8e54da2277aca95a
Signed-off-by: Alexey Polyudov <apolyudov@google.com>
struct hub_app_name_t app_name;
uint32_t version;
uint32_t num_mem_ranges;
- const struct mem_range_t *mem_usage;
+ struct mem_range_t mem_usage[2]; // Apps could only have RAM and SHARED_DATA
};
/**