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
c3f66967
Commit
c3f66967
authored
Jan 11, 2014
by
Sebastián Katzer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Declare methods are protected instead of public
parent
adbdaf0f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
LocalNotification.java
src/android/LocalNotification.java
+4
-4
No files found.
src/android/LocalNotification.java
View file @
c3f66967
...
@@ -214,7 +214,7 @@ public class LocalNotification extends CordovaPlugin {
...
@@ -214,7 +214,7 @@ public class LocalNotification extends CordovaPlugin {
/**
/**
* Set the application context if not already set.
* Set the application context if not already set.
*/
*/
p
ublic
static
void
setContext
(
Context
context
)
{
p
rotected
static
void
setContext
(
Context
context
)
{
if
(
LocalNotification
.
context
==
null
)
{
if
(
LocalNotification
.
context
==
null
)
{
LocalNotification
.
context
=
context
;
LocalNotification
.
context
=
context
;
}
}
...
@@ -223,21 +223,21 @@ public class LocalNotification extends CordovaPlugin {
...
@@ -223,21 +223,21 @@ public class LocalNotification extends CordovaPlugin {
/**
/**
* The Local storage for the application.
* The Local storage for the application.
*/
*/
p
ublic
static
SharedPreferences
getSharedPreferences
()
{
p
rotected
static
SharedPreferences
getSharedPreferences
()
{
return
context
.
getSharedPreferences
(
PLUGIN_NAME
,
Context
.
MODE_PRIVATE
);
return
context
.
getSharedPreferences
(
PLUGIN_NAME
,
Context
.
MODE_PRIVATE
);
}
}
/**
/**
* The alarm manager for the application.
* The alarm manager for the application.
*/
*/
pr
ivate
static
AlarmManager
getAlarmManager
()
{
pr
otected
static
AlarmManager
getAlarmManager
()
{
return
(
AlarmManager
)
context
.
getSystemService
(
Context
.
ALARM_SERVICE
);
return
(
AlarmManager
)
context
.
getSystemService
(
Context
.
ALARM_SERVICE
);
}
}
/**
/**
* The notification manager for the application.
* The notification manager for the application.
*/
*/
pr
ivate
static
NotificationManager
getNotificationManager
()
{
pr
otected
static
NotificationManager
getNotificationManager
()
{
return
(
NotificationManager
)
context
.
getSystemService
(
Context
.
NOTIFICATION_SERVICE
);
return
(
NotificationManager
)
context
.
getSystemService
(
Context
.
NOTIFICATION_SERVICE
);
}
}
}
}
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