aboutsummaryrefslogtreecommitdiffstats
path: root/include/nativehelper/JniInvocation.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/nativehelper/JniInvocation.h')
-rw-r--r--include/nativehelper/JniInvocation.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/include/nativehelper/JniInvocation.h b/include/nativehelper/JniInvocation.h
index b5198ff..fc2ed0a 100644
--- a/include/nativehelper/JniInvocation.h
+++ b/include/nativehelper/JniInvocation.h
@@ -38,8 +38,11 @@ class JniInvocation {
// persist.sys.dalvik.vm.lib.
bool Init(const char* library);
- // Exposes which library is actually loaded from the given name.
- static const char* GetLibrary(const char* library);
+ // Exposes which library is actually loaded from the given name. The
+ // buffer of size PROPERTY_VALUE_MAX will be used to load the system
+ // property for the default library, if necessary. If no buffer is
+ // provided, the fallback value will be used.
+ static const char* GetLibrary(const char* library, char* buffer);
private: