File tree Expand file tree Collapse file tree
domain/src/main/java/org/monogram/domain/repository
presentation/src/main/java/org/monogram/presentation Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ enum class UnifiedPushDebugStatus {
1212
1313data class PushDiagnostics (
1414 val pushProvider : PushProvider = PushProvider .FCM ,
15- val backgroundServiceEnabled : Boolean = true ,
15+ val backgroundServiceEnabled : Boolean = false ,
1616 val hideForegroundNotification : Boolean = false ,
1717 val isPowerSavingMode : Boolean = false ,
1818 val isWakeLockEnabled : Boolean = false ,
Original file line number Diff line number Diff line change @@ -270,7 +270,7 @@ class AppPreferences(
270270 private val _pinnedMessagesNotifications = MutableStateFlow (prefs.getBoolean(KEY_PINNED_MESSAGES , true ))
271271 override val pinnedMessagesNotifications: StateFlow <Boolean > = _pinnedMessagesNotifications
272272
273- private val _backgroundServiceEnabled = MutableStateFlow (prefs.getBoolean(KEY_BACKGROUND_SERVICE_ENABLED , true ))
273+ private val _backgroundServiceEnabled = MutableStateFlow (prefs.getBoolean(KEY_BACKGROUND_SERVICE_ENABLED , false ))
274274 override val backgroundServiceEnabled: StateFlow <Boolean > = _backgroundServiceEnabled
275275
276276 private val _isPowerSavingMode = MutableStateFlow (prefs.getBoolean(KEY_POWER_SAVING_MODE , false ))
@@ -1195,7 +1195,7 @@ class AppPreferences(
11951195 _inAppPreview .value = true
11961196 _contactJoinedNotifications .value = true
11971197 _pinnedMessagesNotifications .value = true
1198- _backgroundServiceEnabled .value = true
1198+ _backgroundServiceEnabled .value = false
11991199 _isPowerSavingMode .value = false
12001200 _isWakeLockEnabled .value = false
12011201 _hideForegroundNotification .value = false
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ interface DebugComponent {
1818
1919 data class State (
2020 val pushProvider : PushProvider = PushProvider .FCM ,
21- val backgroundServiceEnabled : Boolean = true ,
21+ val backgroundServiceEnabled : Boolean = false ,
2222 val hideForegroundNotification : Boolean = false ,
2323 val isPowerSavingMode : Boolean = false ,
2424 val isWakeLockEnabled : Boolean = false ,
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ interface NotificationsComponent {
5757 val inAppPreview : Boolean = true ,
5858 val contactJoined : Boolean = true ,
5959 val pinnedMessages : Boolean = true ,
60- val backgroundServiceEnabled : Boolean = true ,
60+ val backgroundServiceEnabled : Boolean = false ,
6161 val hideForegroundNotification : Boolean = false ,
6262 val vibrationPattern : String = " default" ,
6363 val priority : Int = 1 ,
@@ -300,7 +300,7 @@ class DefaultNotificationsComponent(
300300 onInAppPreviewToggled(true )
301301 onContactJoinedToggled(true )
302302 onPinnedMessagesToggled(true )
303- onBackgroundServiceToggled(true )
303+ onBackgroundServiceToggled(false )
304304 onHideForegroundNotificationToggled(false )
305305 onVibrationPatternChanged(" default" )
306306 onPriorityChanged(1 )
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ interface PowerSavingComponent {
2121
2222 data class State (
2323 val isChatAnimationsEnabled : Boolean = true ,
24- val backgroundServiceEnabled : Boolean = true ,
24+ val backgroundServiceEnabled : Boolean = false ,
2525 val isPowerSavingModeEnabled : Boolean = false ,
2626 val isWakeLockEnabled : Boolean = false ,
2727 val batteryOptimizationEnabled : Boolean = false
You can’t perform that action at this time.
0 commit comments