Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
cordova-plugin-local-notifications
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Nabil Sadki
cordova-plugin-local-notifications
Commits
b1a6e7d5
Commit
b1a6e7d5
authored
Jan 29, 2018
by
Sebastián Katzer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Launch app and fire event after the onStart() [fixes #1505]
parent
523a4e1b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
13 deletions
+2
-13
AbstractClickReceiver.java
src/android/notification/receiver/AbstractClickReceiver.java
+2
-13
No files found.
src/android/notification/receiver/AbstractClickReceiver.java
View file @
b1a6e7d5
...
@@ -42,12 +42,10 @@ abstract public class AbstractClickReceiver extends Activity {
...
@@ -42,12 +42,10 @@ abstract public class AbstractClickReceiver extends Activity {
/**
/**
* Called when local notification was clicked to launch the main intent.
* Called when local notification was clicked to launch the main intent.
*
* @param state Saved instance state
*/
*/
@Override
@Override
p
ublic
void
onCreate
(
Bundle
state
)
{
p
rotected
void
onResume
(
)
{
super
.
on
Create
(
state
);
super
.
on
Resume
(
);
Intent
intent
=
getIntent
();
Intent
intent
=
getIntent
();
Bundle
bundle
=
intent
.
getExtras
();
Bundle
bundle
=
intent
.
getExtras
();
...
@@ -63,15 +61,6 @@ abstract public class AbstractClickReceiver extends Activity {
...
@@ -63,15 +61,6 @@ abstract public class AbstractClickReceiver extends Activity {
return
;
return
;
onClick
(
toast
,
bundle
);
onClick
(
toast
,
bundle
);
}
/**
* Fixes "Unable to resume activity" error.
* Theme_NoDisplay: Activities finish themselves before being resumed.
*/
@Override
protected
void
onResume
()
{
super
.
onResume
();
finish
();
finish
();
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment