Browse Source

[fix]自启动权限问题

zk 11 months ago
parent
commit
3ec1e1e19c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/module/record/record_handler.dart

+ 1 - 1
lib/module/record/record_handler.dart

@@ -209,7 +209,7 @@ class RecordHandler {
               foregroundTaskOptions: ForegroundTaskOptions(
                 eventAction: ForegroundTaskEventAction.once(),
                 autoRunOnBoot: false,
-                autoRunOnMyPackageReplaced: true,
+                autoRunOnMyPackageReplaced: false,
                 allowWakeLock: true,
                 allowWifiLock: false,
               ),