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,12 +52,11 @@ interface DeezerApiService {
|
||||||
.addHeader("Cache-Control",
|
.addHeader("Cache-Control",
|
||||||
String.format(
|
String.format(
|
||||||
Locale.getDefault(),
|
Locale.getDefault(),
|
||||||
"max-age=%d, max-stale=%d",
|
"max-age=31536000, max-stale=31536000"
|
||||||
31536000, 31536000
|
|
||||||
)
|
)
|
||||||
).build()
|
).build()
|
||||||
chain.proceed(modifiedRequest)
|
chain.proceed(modifiedRequest)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue