Github user jasongin commented on a diff in the pull request:
https://github.com/apache/cordova-android/pull/239#discussion_r44562734
--- Diff: framework/src/org/apache/cordova/CordovaInterfaceImpl.java ---
@@ -115,6 +115,10 @@ public boolean onActivityResult(int requestCode, int
resultCode, Intent intent)
savedResult = new ActivityResultHolder(requestCode,
resultCode, intent);
if (pluginManager != null) {
callback = pluginManager.getPlugin(initCallbackService);
+ if(callback != null) {
+
callback.onRestoreStateForActivityResult(savedPluginState.getBundle(callback.getServiceName()),
--- End diff --
Are you sure savedPluginState will always be non-null at this point? And
that it will have the expected bundle?
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]