Rename service.Sleep() to Pause()

This commit is contained in:
世界 2024-02-11 20:32:48 +08:00
parent 3224f56f89
commit 4e4b01b7b9
No known key found for this signature in database
GPG key ID: CD109927C34A63C4

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()
}