Bug 674725 - Part U - Implement WebSMS delivered event for the Android backend. r=cjones
This commit is contained in:
@@ -1360,7 +1360,7 @@ AndroidBridge::SaveSentMessage(const nsAString& aRecipient,
|
||||
{
|
||||
ALOG_BRIDGE("AndroidBridge::SaveSentMessage");
|
||||
|
||||
AutoLocalJNIFrame jniFrame;
|
||||
AutoLocalJNIFrame jniFrame(GetJNIForThread());
|
||||
jstring jRecipient = GetJNIForThread()->NewString(PromiseFlatString(aRecipient).get(), aRecipient.Length());
|
||||
jstring jBody = GetJNIForThread()->NewString(PromiseFlatString(aBody).get(), aBody.Length());
|
||||
return GetJNIForThread()->CallStaticIntMethod(mGeckoAppShellClass, jSaveSentMessage, jRecipient, jBody, aDate);
|
||||
|
||||
Reference in New Issue
Block a user