am 34ccdaa8: Merge "ndk: ANativeActivity: Fix \'clazz\' member documentation."

* commit '34ccdaa87b25c2456a76aafcf09a66b2fab236ff':
  ndk: ANativeActivity: Fix 'clazz' member documentation.
This commit is contained in:
Andrew Hsieh
2012-04-03 07:25:15 -07:00
committed by Android Git Automerger

View File

@@ -60,7 +60,14 @@ typedef struct ANativeActivity {
JNIEnv* env;
/**
* The NativeActivity Java class.
* The NativeActivity object handle.
*
* IMPORTANT NOTE: This member is mis-named. It should really be named
* 'activity' instead of 'clazz', since it's a reference to the
* NativeActivity instance created by the system for you.
*
* We unfortunately cannot change this without breaking NDK
* source-compatibility.
*/
jobject clazz;