[Base] Explain why no Android activity in xenia-base [ci skip]
This commit is contained in:
@@ -42,6 +42,8 @@ int32_t GetAndroidApiLevel();
|
|||||||
// attach on a non-main thread.
|
// attach on a non-main thread.
|
||||||
JNIEnv* GetAndroidThreadJNIEnv();
|
JNIEnv* GetAndroidThreadJNIEnv();
|
||||||
// Returns the global reference if in an application context, or null otherwise.
|
// Returns the global reference if in an application context, or null otherwise.
|
||||||
|
// This is the application context, not the activity one, because multiple
|
||||||
|
// activities may be running in one process.
|
||||||
jobject GetAndroidApplicationContext();
|
jobject GetAndroidApplicationContext();
|
||||||
|
|
||||||
} // namespace xe
|
} // namespace xe
|
||||||
|
|||||||
Reference in New Issue
Block a user