src/core/android/SDL_android.cpp
changeset 7095 79ca4d26d4b3
parent 7083 0cb47cc139d3
child 7130 28df4f1a1712
     1.1 --- a/src/core/android/SDL_android.cpp	Tue Apr 23 08:19:21 2013 -0700
     1.2 +++ b/src/core/android/SDL_android.cpp	Tue Apr 23 16:44:54 2013 -0300
     1.3 @@ -1130,14 +1130,12 @@
     1.4      return Android_JNI_GetEnv();
     1.5  }
     1.6  
     1.7 -/*
     1.8 - * The jobject returned by SDL_AndroidGetActivity is a local reference.
     1.9 - * It is the caller's responsibility to properly release it
    1.10 - * (using LocalReferenceHolder or manually with env->DeleteLocalRef)
    1.11 - */
    1.12 +
    1.13  
    1.14  extern "C" void *SDL_AndroidGetActivity()
    1.15  {
    1.16 +    /* See SDL_system.h for caveats on using this function. */
    1.17 +    
    1.18      jmethodID mid;
    1.19  
    1.20      JNIEnv *env = Android_JNI_GetEnv();