new: update to singboc 1.8.7

This commit is contained in:
Hiddify
2024-03-03 07:22:40 +01:00
parent 2a994dc348
commit 45fbe76c6e
5 changed files with 17 additions and 5 deletions

View File

@@ -247,7 +247,7 @@ class BoxService(
@RequiresApi(Build.VERSION_CODES.M)
private fun serviceUpdateIdleMode() {
if (Application.powerManager.isDeviceIdleMode) {
boxService?.sleep()
boxService?.pause()
} else {
boxService?.wake()
}