mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-22 01:40:07 +01:00
Clear emoji cache after downloading a new set.
This commit is contained in:
committed by
Alex Hart
parent
e5c172a819
commit
08d03cb456
@@ -61,6 +61,10 @@ object EmojiPageCache {
|
||||
}
|
||||
}
|
||||
|
||||
fun clear() {
|
||||
cache.clear()
|
||||
}
|
||||
|
||||
@WorkerThread
|
||||
private fun loadInternal(context: Context, emojiPageRequest: EmojiPageRequest): Bitmap? {
|
||||
val inputStream: InputStream = when (emojiPageRequest.emojiPage) {
|
||||
|
||||
Reference in New Issue
Block a user