diff options
author | Andy McFadden <> | 2009-03-31 15:52:13 -0700 |
---|---|---|
committer | The Android Open Source Project <initial-contribution@android.com> | 2009-03-31 15:52:13 -0700 |
commit | f70188aa4716625781d9952c6b883180528d4644 (patch) | |
tree | daa7aa337f93976ad2382601a261c5543813c1ca /include | |
parent | 7474a5acbe5b73342e4cf129d39cd3bc1195292c (diff) | |
download | frameworks_base-f70188aa4716625781d9952c6b883180528d4644.zip frameworks_base-f70188aa4716625781d9952c6b883180528d4644.tar.gz frameworks_base-f70188aa4716625781d9952c6b883180528d4644.tar.bz2 |
AI 143840: Split VM initialization out into a separate function.
This makes the code marginally more readable, and cuts about 500 bytes
off the size of the main thread's stack.
Automated import of CL 143840
Diffstat (limited to 'include')
-rw-r--r-- | include/android_runtime/AndroidRuntime.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/android_runtime/AndroidRuntime.h b/include/android_runtime/AndroidRuntime.h index 78bef91..0304309 100644 --- a/include/android_runtime/AndroidRuntime.h +++ b/include/android_runtime/AndroidRuntime.h @@ -98,6 +98,7 @@ public: private: static int startReg(JNIEnv* env); + int startVm(JavaVM** pJavaVM, JNIEnv** pEnv); Vector<JavaVMOption> mOptions; |