From d998c13ee81cb3a9ef2f513ebfa286a92a19383e Mon Sep 17 00:00:00 2001 From: Triang3l Date: Mon, 31 Jan 2022 12:12:49 +0300 Subject: [PATCH] [Base] Explain why no Android activity in xenia-base [ci skip] --- src/xenia/base/main_android.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/xenia/base/main_android.h b/src/xenia/base/main_android.h index d871fc15a..7fe35e038 100644 --- a/src/xenia/base/main_android.h +++ b/src/xenia/base/main_android.h @@ -42,6 +42,8 @@ int32_t GetAndroidApiLevel(); // attach on a non-main thread. JNIEnv* GetAndroidThreadJNIEnv(); // 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(); } // namespace xe