Skip to content

Commit b91b047

Browse files
committed
Rename internal variables.
1 parent ee95bee commit b91b047

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

app/src/main/java/com/OxGames/Pluvia/NotificationHelper.kt

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class NotificationHelper(private val context: Context) {
1616
private const val CHANNEL_NAME = "Pluvia Foreground Service"
1717
private const val NOTIFICATION_ID = 1
1818

19-
const val ACTION_LOGOUT = "com.oxgames.pluvia.LOGOUT"
19+
const val ACTION_EXIT = "com.oxgames.pluvia.EXIT"
2020
}
2121

2222
private val notificationManager: NotificationManager =
@@ -66,7 +66,7 @@ class NotificationHelper(private val context: Context) {
6666
)
6767

6868
val stopIntent = Intent(context, SteamService::class.java).apply {
69-
action = ACTION_LOGOUT
69+
action = ACTION_EXIT
7070
}
7171
val stopPendingIntent = PendingIntent.getService(
7272
context,

app/src/main/java/com/OxGames/Pluvia/SteamService.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1728,7 +1728,7 @@ class SteamService : Service(), IChallengeUrlChanged {
17281728

17291729
// Notification intents
17301730
when (intent?.action) {
1731-
NotificationHelper.ACTION_LOGOUT -> {
1731+
NotificationHelper.ACTION_EXIT -> {
17321732
PluviaApp.events.emit(AndroidEvent.EndProcess)
17331733
return START_NOT_STICKY
17341734
}

0 commit comments

Comments
 (0)