You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: OneSignalSDK/onesignal/notifications/src/main/java/com/onesignal/notifications/internal/permissions/impl/NotificationPermissionController.kt
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -87,8 +87,8 @@ internal class NotificationPermissionController(
Copy file name to clipboardExpand all lines: OneSignalSDK/onesignal/notifications/src/test/java/com/onesignal/notifications/internal/permission/NotificationPermissionControllerTests.kt
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -61,7 +61,7 @@ class NotificationPermissionControllerTests : FunSpec({
61
61
// call onFocus to set the proper polling interval.
62
62
// This happens when registering the lifecycle handler
63
63
for (focusHandler in focusHandlerList) {
64
-
focusHandler.onFocus()
64
+
focusHandler.onFocus(false)
65
65
}
66
66
67
67
// When
@@ -99,7 +99,7 @@ class NotificationPermissionControllerTests : FunSpec({
99
99
// call onFocus to set the proper polling interval.
100
100
// This happens when registering the lifecycle handler
101
101
for (focusHandler in handlerList) {
102
-
focusHandler.onFocus()
102
+
focusHandler.onFocus(false)
103
103
}
104
104
105
105
// When
@@ -142,7 +142,7 @@ class NotificationPermissionControllerTests : FunSpec({
142
142
// call onFocus to set the proper polling interval.
143
143
// This happens when registering the lifecycle handler
144
144
for (focusHandler in handlerList) {
145
-
focusHandler.onFocus()
145
+
focusHandler.onFocus(false)
146
146
}
147
147
148
148
// When
@@ -156,7 +156,7 @@ class NotificationPermissionControllerTests : FunSpec({
0 commit comments