ali will check quota and clean token
This commit is contained in:
parent
138e622365
commit
5343334ca1
|
|
@ -147,8 +147,9 @@ public class API {
|
|||
|
||||
private boolean checkQuotaExhausted(String result) {
|
||||
if (!result.contains("QuotaExhausted")) return false;
|
||||
Init.show("容量不夠拉,趕快清一清。");
|
||||
auth.clean();
|
||||
Init.show("容量不夠拉。");
|
||||
auth.setRefreshToken("");
|
||||
refreshAccessToken();
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -1 +1 @@
|
|||
4a4931a4faa85b0fd02acc98e38f3bab
|
||||
debd4cf545c08d546b477c80319b9ad0
|
||||
|
|
|
|||
Loading…
Reference in New Issue