mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-19 01:04:20 +00:00
Refactored the android JNI mechanism.
This commit is contained in:
parent
a07b719501
commit
b88a1a1815
19 changed files with 1385 additions and 1365 deletions
|
|
@ -45,7 +45,7 @@ bool MessageManager::dispatchNextMessageOnSystemQueue (const bool returnIfNoPend
|
|||
bool MessageManager::postMessageToSystemQueue (Message* message)
|
||||
{
|
||||
message->incReferenceCount();
|
||||
getEnv()->CallVoidMethod (android.activity, android.postMessage, (jlong) (pointer_sized_uint) message);
|
||||
getEnv()->CallVoidMethod (android.activity, JuceAppActivity.postMessage, (jlong) (pointer_sized_uint) message);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
@ -111,7 +111,7 @@ public:
|
|||
|
||||
void messageCallback()
|
||||
{
|
||||
android.activity.callVoidMethod (android.finish);
|
||||
android.activity.callVoidMethod (JuceAppActivity.finish);
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue