Added another constructor to avoid requiring a full ANativeActivity
This commit is contained in:
@@ -67,6 +67,12 @@ AndroidJNIIOSystem::AndroidJNIIOSystem(ANativeActivity* activity)
|
||||
AndroidActivityInit(activity);
|
||||
}
|
||||
|
||||
AndroidJNIIOSystem::AndroidJNIIOSystem(const char *internalPath, AAssetManager assetManager)
|
||||
{
|
||||
mApkWorkspacePath = internalDataPath;
|
||||
mApkAssetManager = assetManager;
|
||||
}
|
||||
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
// Destructor.
|
||||
AndroidJNIIOSystem::~AndroidJNIIOSystem()
|
||||
|
||||
Reference in New Issue
Block a user