We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 99ee9e1 commit f3453f0Copy full SHA for f3453f0
presentation/src/main/java/com/stop/alarm/SoundRestartService.kt
@@ -12,11 +12,11 @@ import com.stop.util.getAlarmDefaultNotification
12
class SoundRestartService : Service() {
13
14
override fun onStartCommand(intent: Intent?, flags: Int, startId: Int): Int {
15
- val notImportantPendingIntent = applicationContext.getActivityPendingIntent(
+ val notImportantPendingIntent = this.getActivityPendingIntent(
16
Intent(this, AlarmActivity::class.java),
17
ALARM_CODE
18
)
19
- val notImportantNotification = applicationContext.getAlarmDefaultNotification(
+ val notImportantNotification = this.getAlarmDefaultNotification(
20
notImportantPendingIntent,
21
""
22
0 commit comments