From 1b615ad6167751fb4049e153c2da3bf1223a41e3 Mon Sep 17 00:00:00 2001 From: FongMi Date: Sat, 18 Feb 2023 22:35:22 +0800 Subject: [PATCH] Update API.java --- app/src/main/java/com/github/catvod/ali/API.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/com/github/catvod/ali/API.java b/app/src/main/java/com/github/catvod/ali/API.java index 314d532c..d8649b5a 100644 --- a/app/src/main/java/com/github/catvod/ali/API.java +++ b/app/src/main/java/com/github/catvod/ali/API.java @@ -61,7 +61,7 @@ public class API { private API() { this.auth = new Auth(); - this.lock = new ReentrantLock(); + this.lock = new ReentrantLock(true); } public void setRefreshToken(String token) {