Commit ffc8f463 by Sebastián Katzer

Fix black screen on Android

parent c945083e
...@@ -35,6 +35,9 @@ cordova plugin rm de.appplant.cordova.plugin.local-notification ...@@ -35,6 +35,9 @@ cordova plugin rm de.appplant.cordova.plugin.local-notification
``` ```
## Release Notes ## Release Notes
#### Version 0.7.0 (not yet released)
- [bugfix:] Black screen on Android (#23)
#### Version 0.6.2 (04.12.2013) #### Version 0.6.2 (04.12.2013)
- Release under the Apache 2.0 license. - Release under the Apache 2.0 license.
......
...@@ -132,7 +132,8 @@ public class Receiver extends BroadcastReceiver { ...@@ -132,7 +132,8 @@ public class Receiver extends BroadcastReceiver {
*/ */
private Builder setClickEvent (Builder notification) { private Builder setClickEvent (Builder notification) {
Intent intent = new Intent(context, ReceiverActivity.class) Intent intent = new Intent(context, ReceiverActivity.class)
.putExtra(OPTIONS, options.getJSONObject().toString()); .putExtra(OPTIONS, options.getJSONObject().toString())
.setFlags(Intent.FLAG_ACTIVITY_NO_HISTORY);
PendingIntent contentIntent = PendingIntent.getActivity(context, 0, intent, PendingIntent.FLAG_CANCEL_CURRENT); PendingIntent contentIntent = PendingIntent.getActivity(context, 0, intent, PendingIntent.FLAG_CANCEL_CURRENT);
......
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