문자열 리소스 참조로 화면 문구 정리

This commit is contained in:
2025-12-30 15:46:01 +09:00
parent 1d002c4045
commit dfaa3961bf
43 changed files with 670 additions and 223 deletions

View File

@@ -9,6 +9,7 @@ import android.os.Environment
import android.provider.DocumentsContract
import android.provider.MediaStore
import android.text.TextUtils
import kr.co.vividnext.sodalive.R
object RealPathUtil {
fun getRealPath(context: Context, fileUri: Uri): String? {
@@ -35,7 +36,9 @@ object RealPathUtil {
val type = split[0]
if ("primary".equals(type, ignoreCase = true)) {
return Environment.getExternalStorageDirectory().toString() + "/" + split[1]
return Environment.getExternalStorageDirectory()
.toString() + SodaLiveApplicationHolder.get()
.getString(R.string.screen_live_room_separator_slash) + split[1]
}
} else if (isDownloadsDocument(uri)) {
var cursor: Cursor? = null