зеркало из https://github.com/mozilla/gecko-dev.git
Bug 886155 - GeckoSubdocumentScrollHelper logspew. r=kats
This commit is contained in:
Родитель
58a83c3cf9
Коммит
74b997bffe
|
@ -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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче