Skip to content
This repository has been archived by the owner on Feb 6, 2023. It is now read-only.

Commit

Permalink
fix: Unable to parse svga of assets directory
Browse files Browse the repository at this point in the history
  • Loading branch information
caiyuwei committed Sep 22, 2020
1 parent 2ad4490 commit 4446d4a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ class SVGAParser(context: Context?) {
return
}
try {
val cacheDir = File(mContext?.cacheDir?.absolutePath + "/" + cacheKey + "/")
val cacheDir = SVGACache.buildCacheDir(cacheKey)
File(cacheDir, "movie.binary").takeIf { it.isFile }?.let { binaryFile ->
try {
LogUtils.info(TAG, "binary change to entity")
Expand Down

0 comments on commit 4446d4a

Please sign in to comment.