Fix a problem about DeezerApiService
These changes fix a crash. This crash is for non international language integers like Persian.main
parent
0aba8c06d6
commit
4f9c122476
|
@ -52,12 +52,11 @@ 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 New Issue