bug 622695 - allow android's logger to handle logging exceptions r=mbrubeck a=blocking-fennec

This commit is contained in:
Brad Lassey
2011-01-03 17:34:44 -05:00
parent e37f8ed1d4
commit 01f5d9bb51
4 changed files with 22 additions and 20 deletions

View File

@@ -175,7 +175,7 @@ class GeckoSurfaceView
try {
bb = mSyncBuf.take();
} catch (InterruptedException ie) {
Log.e("GeckoAppJava", "Threw exception while getting sync buf: " + ie);
Log.e("GeckoAppJava", "Threw exception while getting sync buf: ", ie);
}
if (bb != null && bb.capacity() == (width * height * 2)) {
mSoftwareBitmap = Bitmap.createBitmap(mWidth, mHeight, Bitmap.Config.RGB_565);
@@ -289,7 +289,7 @@ class GeckoSurfaceView
try {
mSyncBuf.put(buffer);
} catch (InterruptedException ie) {
Log.e("GeckoAppJava", "Threw exception while getting sync buf: " + ie);
Log.e("GeckoAppJava", "Threw exception while getting sync buf: ", ie);
}
return;
}