summaryrefslogtreecommitdiff
path: root/include/android_runtime
diff options
context:
space:
mode:
author Elliott Hughes <enh@google.com> 2011-04-11 16:50:19 -0700
committer Elliott Hughes <enh@google.com> 2011-04-11 17:04:01 -0700
commita3804cf77f0edd93f6247a055cdafb856b117eec (patch)
tree795814e56ceddf3773f7f2b47bb7a6b632daa5d5 /include/android_runtime
parent4123211637dcc0155091016f0c0987b80e56ab7b (diff)
You don't need to poke around inside FileDescriptor manually.
We can help you with that. Note also that getParcelFileDescriptorFD did no such thing. All its callers were passing in a regular java.io.FileDescriptor and expecting the int. No ParcelFileDescriptors involved. Change-Id: Idc233626f20c092e719f152562601f406cc1b64a
Diffstat (limited to 'include/android_runtime')
-rw-r--r--include/android_runtime/AndroidRuntime.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/include/android_runtime/AndroidRuntime.h b/include/android_runtime/AndroidRuntime.h
index 22c9b72b6276..de2d50b5bc9c 100644
--- a/include/android_runtime/AndroidRuntime.h
+++ b/include/android_runtime/AndroidRuntime.h
@@ -56,7 +56,7 @@ public:
status_t callMain(const char* className, int argc, const char* const argv[]);
/**
- * Find a class, with the input either of the form
+ * Find a class, with the input either of the form
* "package/class" or "package.class".
*/
static jclass findClass(JNIEnv* env, const char* className);
@@ -67,7 +67,7 @@ public:
void start(); // start in android.util.RuntimeInit
static AndroidRuntime* getRuntime();
-
+
/**
* This gets called after the JavaVM has initialized. Override it
* with the system's native entry point.
@@ -112,7 +112,7 @@ private:
* Thread creation helpers.
*/
static int javaCreateThreadEtc(
- android_thread_func_t entryFunction,
+ android_thread_func_t entryFunction,
void* userData,
const char* threadName,
int32_t threadPriority,
@@ -121,9 +121,6 @@ private:
static int javaThreadShell(void* args);
};
-// Returns the Unix file descriptor for a ParcelFileDescriptor object
-extern int getParcelFileDescriptorFD(JNIEnv* env, jobject object);
-
extern CursorWindow * get_window_from_object(JNIEnv * env, jobject javaWindow);
}