Bug 701716 - navigator.vibrate's Android backend is missing an AutoLocalJNIFrame. r=mwu

This commit is contained in:
Justin Lebar 2011-11-11 11:11:41 -05:00
parent 1cd6c5ac67
commit adcce83942

View File

@ -681,6 +681,8 @@ AndroidBridge::PerformHapticFeedback(bool aIsLongPress)
void
AndroidBridge::Vibrate(const nsTArray<PRUint32>& aPattern)
{
AutoLocalJNIFrame frame;
ALOG_BRIDGE("AndroidBridge::Vibrate");
PRUint32 len = aPattern.Length();