music: dont make path parsing redundant

Don't do API 21 path parsing on API 29.

There's no need yet, so it's better to skip the step and make the
loading process more efficient.
This commit is contained in:
OxygenCobalt
2022-06-14 13:33:10 -06:00
parent 6fc4d46de5
commit 8adf5e978d
3 changed files with 70 additions and 47 deletions
+1 -5
View File
@@ -7,14 +7,10 @@
<string name="fmt_two" translatable="false">%1$s • %2$s</string>
<string name="fmt_three" translatable="false">%1$s • %2$s • %3$s</string>
<string name="fmt_number" translatable="false">%d</string>
<string name="fmt_path">%1$s/%2$s</string>
<!-- Codec Namespace | Format names -->
<string name="cdc_vorbis">Vorbis</string>
<string name="cdc_opus">Opus</string>
<string name="cdc_wav">Microsoft WAVE</string>
<!-- Note: These are stopgap measures until we make the path code rely on components! -->
<string name="fmt_path">%1$s/%2$s</string>
<string name="fmt_primary_path">Internal:%s</string>
<string name="fmt_secondary_path">SDCARD:%s</string>
</resources>