diff options
author | Narayan Kamath <narayan@google.com> | 2014-03-28 13:39:21 +0000 |
---|---|---|
committer | Narayan Kamath <narayan@google.com> | 2014-04-03 12:29:07 +0000 |
commit | a23fcd7be8e40078a913b1a99222cdd89229e67b (patch) | |
tree | 9580df860d196b7b1edab40837c0c08fbc4ff6da /include/android_runtime | |
parent | 369a00574da218975718ce07ffe6abba5c17bf92 (diff) | |
download | frameworks_base-a23fcd7be8e40078a913b1a99222cdd89229e67b.zip frameworks_base-a23fcd7be8e40078a913b1a99222cdd89229e67b.tar.gz frameworks_base-a23fcd7be8e40078a913b1a99222cdd89229e67b.tar.bz2 |
Remove ProcessState::mArgc,mArgV,mArgLen
These look like historical oddities, and weren't really being
used for anything useful.
Process:setArgV0 was being called by android.util.Process, but
that functionality can be moved directly into the implementation
of that class.
bug: 13647418
Change-Id: I216c8f8a4c065f0cf3a61f19f9e32decd26f93f6
Diffstat (limited to 'include/android_runtime')
-rw-r--r-- | include/android_runtime/AndroidRuntime.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/android_runtime/AndroidRuntime.h b/include/android_runtime/AndroidRuntime.h index 649f4c3..6f2af90 100644 --- a/include/android_runtime/AndroidRuntime.h +++ b/include/android_runtime/AndroidRuntime.h @@ -34,7 +34,7 @@ namespace android { class AndroidRuntime { public: - AndroidRuntime(); + AndroidRuntime(char* argBlockStart, size_t argBlockSize); virtual ~AndroidRuntime(); enum StartMode { @@ -44,6 +44,8 @@ public: Tool, }; + void setArgv0(const char* argv0); + /** * Register a set of methods in the specified class. */ @@ -120,6 +122,8 @@ private: Vector<JavaVMOption> mOptions; bool mExitWithoutCleanup; + char* const mArgBlockStart; + const size_t mArgBlockLength; /* JNI JavaVM pointer */ static JavaVM* mJavaVM; |