Bug 886155 - GeckoSubdocumentScrollHelper logspew. r=kats

This commit is contained in:
Richard Newman 2013-06-23 23:39:14 -07:00
Родитель 58a83c3cf9
Коммит 74b997bffe
1 изменённых файлов: 2 добавлений и 3 удалений

Просмотреть файл

@ -18,7 +18,7 @@ import android.os.Handler;
import android.util.Log;
class SubdocumentScrollHelper implements GeckoEventListener {
private static final String LOGTAG = "GeckoSubdocumentScrollHelper";
private static final String LOGTAG = "GeckoSubdocScroll";
private static String MESSAGE_PANNING_OVERRIDE = "Panning:Override";
private static String MESSAGE_CANCEL_OVERRIDE = "Panning:CancelOverride";
@ -120,11 +120,10 @@ class SubdocumentScrollHelper implements GeckoEventListener {
@Override
public void handleMessage(final String event, final JSONObject message) {
// this comes in on the gecko thread; hand off the handling to the UI thread
// This comes in on the Gecko thread; hand off the handling to the UI thread.
mUiHandler.post(new Runnable() {
@Override
public void run() {
Log.i(LOGTAG, "Got message: " + event);
try {
if (MESSAGE_PANNING_OVERRIDE.equals(event)) {
mOverridePanning = true;