Commit dd0691b8 by Sebastián Katzer

Simply launch the main intent as first and the invoke the callback in each case.

parent b03bdf08
...@@ -47,13 +47,8 @@ public class ReceiverActivity extends Activity { ...@@ -47,13 +47,8 @@ public class ReceiverActivity extends Activity {
JSONObject args = new JSONObject(bundle.getString(Receiver.OPTIONS)); JSONObject args = new JSONObject(bundle.getString(Receiver.OPTIONS));
Options options = new Options(getApplicationContext()).parse(args); Options options = new Options(getApplicationContext()).parse(args);
if (LocalNotification.webView == null) { launchMainIntent();
launchMainIntent(); invokeBackgroundCallback(options);
invokeBackgroundCallback(options);
} else {
invokeBackgroundCallback(options);
launchMainIntent();
}
} catch (JSONException e) {} } catch (JSONException e) {}
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment