mirror of
https://github.com/apache/cordova-android.git
synced 2025-02-22 00:32:55 +08:00
CB-8210 Drop events from native that occur before start-up
This commit is contained in:
parent
291f111913
commit
c1ac3aa483
@ -315,8 +315,10 @@ public class App extends CordovaPlugin {
|
||||
}
|
||||
PluginResult pluginResult = new PluginResult(PluginResult.Status.OK, obj);
|
||||
pluginResult.setKeepCallback(true);
|
||||
if (messageChannel != null) {
|
||||
messageChannel.sendPluginResult(pluginResult);
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* Unregister the receiver
|
||||
|
Loading…
Reference in New Issue
Block a user