Skip to content

Commit

Permalink
fix: 주석 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
easyhz committed Apr 11, 2024
1 parent 4e0a9e1 commit e6a092d
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,12 @@ import com.easyhz.picly.R
import com.easyhz.picly.util.saveImage
import java.io.File

class PiclyFileProvider:FileProvider(R.xml.file_paths) {
class PiclyFileProvider: FileProvider(R.xml.file_paths) {
companion object {
/**
* 공유받은 이미지 캐시 파일 생성하는 함수
* @return 캐시 파일 Content Uri
*/
suspend fun getIncomingImageUri(context: Context, uri: Uri): Uri {
val directory = File(context.cacheDir, "images")
directory.mkdirs()
Expand Down

0 comments on commit e6a092d

Please sign in to comment.