Fix a problem about DeezerApiService
These changes fix a crash. This crash is for non international language integers like Persian.
This commit is contained in:
parent
0aba8c06d6
commit
4f9c122476
1 changed files with 2 additions and 3 deletions
|
@ -52,8 +52,7 @@ interface DeezerApiService {
|
|||
.addHeader("Cache-Control",
|
||||
String.format(
|
||||
Locale.getDefault(),
|
||||
"max-age=%d, max-stale=%d",
|
||||
31536000, 31536000
|
||||
"max-age=31536000, max-stale=31536000"
|
||||
)
|
||||
).build()
|
||||
chain.proceed(modifiedRequest)
|
||||
|
|
Loading…
Reference in a new issue