зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1343678 - Ensure events expecting a reply get one even if there is no listener r=geckoview-reviewers,droeh,agi
Differential Revision: https://phabricator.services.mozilla.com/D43984 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
17531c0400
Коммит
99feef5a48
|
@ -318,7 +318,12 @@ public final class EventDispatcher extends JNIObject {
|
|||
return true;
|
||||
}
|
||||
|
||||
Log.w(LOGTAG, "No listener for " + type);
|
||||
final String error = "No listener for " + type;
|
||||
if (callback != null) {
|
||||
callback.sendError(error);
|
||||
}
|
||||
|
||||
Log.w(LOGTAG, error);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче