Skip to content
Snippets Groups Projects
Commit 67fb3f3e authored by Nicolas Pomepuy's avatar Nicolas Pomepuy
Browse files

Move more resources to the resource module

parent f725d6bb
No related branches found
No related tags found
1 merge request!514Drawables
Pipeline #15113 failed with stage
in 17 minutes and 36 seconds
Showing
with 8 additions and 2 deletions
......@@ -34,6 +34,13 @@ android {
}
sourceSets.debug {
res.srcDirs = ['flavors/debug/res']
}
sourceSets.dev {
res.srcDirs = ['flavors/debug/res']
}
}
dependencies {
api "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
......
......@@ -33,7 +33,6 @@ import org.videolan.libvlc.util.AndroidUtil
import org.videolan.libvlc.util.HWDecoderUtil
import org.videolan.libvlc.util.VLCUtil
import org.videolan.medialibrary.interfaces.media.MediaWrapper
import org.videolan.resources.R.*
import org.videolan.tools.Preferences
import org.videolan.tools.Settings
import java.io.File
......@@ -66,7 +65,7 @@ object VLCOptions {
val options = ArrayList<String>(50)
val timeStrechingDefault = context != null && context.resources.getBoolean(bool.time_stretching_default)
val timeStrechingDefault = context != null && context.resources.getBoolean(R.bool.time_stretching_default)
val timeStreching = pref.getBoolean("enable_time_stretching_audio", timeStrechingDefault)
val subtitlesEncoding = pref.getString("subtitle_text_encoding", "") ?: ""
val frameSkip = pref.getBoolean("enable_frame_skip", false)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment