File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
app/src/main/java/ie/otormaigh/lazyotp/service
buildSrc/src/main/java/ie/otormaigh/lazyotp/plugin Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ package ie.otormaigh.lazyotp.service
33import android.app.NotificationChannel
44import android.app.NotificationManager
55import android.app.PendingIntent
6+ import android.app.PendingIntent.FLAG_IMMUTABLE
67import android.app.Service
78import android.content.BroadcastReceiver
89import android.content.Context
@@ -41,7 +42,7 @@ class BatteryLevelService : Service() {
4142
4243 val pendingIntent = PendingIntent .getActivity(
4344 this , 0 ,
44- notificationIntent, 0
45+ notificationIntent, FLAG_IMMUTABLE
4546 )
4647
4748 if (Build .VERSION .SDK_INT >= Build .VERSION_CODES .O ) {
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ import ie.otormaigh.lazyotp.plugin.toolbox.Git
1111object SemVer {
1212 private const val major = 0
1313 private const val minor = 4
14- private const val patch = 0
14+ private const val patch = 1
1515
1616 @JvmStatic
1717 val name: String
You can’t perform that action at this time.
0 commit comments