Skip to content

Commit 6c013fe

Browse files
committed
操作加锁
1 parent 62301ce commit 6c013fe

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/src/main/java/me/teble/xposed/autodaily/hook/SplashActivityHook.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ private lateinit var appUpdateDialog: AlertDialog
9595

9696
private var lastAutoResetTime = 0L
9797

98+
@Synchronized
9899
private fun autoResetTask(isOnCreate: Boolean) {
99100
if (System.currentTimeMillis() - lastAutoResetTime < 30 * 60_000L) {
100101
return

0 commit comments

Comments
 (0)