Rename service.Sleep() to Pause()

This commit is contained in:
世界
2024-02-11 20:32:48 +08:00
parent 3224f56f89
commit 4e4b01b7b9

View File

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