Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Update documentation

ashilkn0d6f71c193a4
diff --git a/mobile/lib/services/wake_lock_service.dart b/mobile/lib/services/wake_lock_service.dart
index 2ad8a166ba..7041a3256b 100644
--- a/mobile/lib/services/wake_lock_service.dart
+++ b/mobile/lib/services/wake_lock_service.dart
@@ -8,11 +8,11 @@ enum WakeLockFor {
handlingMediaKitEdgeCase,
}
-/// Use this class to enable/disable wakelock. This class makes sure that
-/// the wakelock setting across sessions if set is respected when wakelock is
-/// updated for other non across session purposes.
+/// Use this wrapper to use wakelock. This class makes sure that the wakelock
+/// setting across sessions if set is respected when wakelock is updated for
+/// other non across session purposes.
/// Only place where this wrapper is not used for accessing wakelock APIs is
-/// in media_kit video player.
+/// in media_kit package.
class EnteWakeLockService {
static const String kKeepAppAwakeAcrossSessions =
"keepAppAwakeAcrossSessions";