Downgraded LibVLC library to fix black screen bug on certain devices

This commit is contained in:
Daniele 2021-10-24 13:57:39 +02:00
parent 3c37c50843
commit 505f8bf54b
6 changed files with 9 additions and 6 deletions

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="CompilerConfiguration">
<bytecodeTargetLevel target="11" />
<bytecodeTargetLevel target="1.8" />
</component>
</project>

View File

@ -10,7 +10,7 @@
</option>
</component>
<component name="ExternalStorageConfigurationManager" enabled="true" />
<component name="ProjectRootManager" version="2" languageLevel="JDK_11" default="true" project-jdk-name="1.8" project-jdk-type="JavaSDK">
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" default="true" project-jdk-name="1.8" project-jdk-type="JavaSDK">
<output url="file://$PROJECT_DIR$/build/classes" />
</component>
<component name="ProjectType">

View File

@ -10,8 +10,8 @@ android {
applicationId "it.danieleverducci.ojo"
minSdkVersion 17
targetSdkVersion 30
versionCode 2
versionName "0.0.2"
versionCode 3
versionName "0.0.3"
vectorDrawables.useSupportLibrary = true
@ -39,7 +39,8 @@ dependencies {
implementation 'com.google.android.material:material:1.4.0'
implementation 'androidx.navigation:navigation-fragment:2.3.5'
implementation 'androidx.navigation:navigation-ui:2.3.5'
implementation 'org.videolan.android:libvlc-all:3.4.1'
//implementation 'org.videolan.android:libvlc-all:3.4.1'
implementation 'de.mrmaffen:libvlc-android:2.1.12@aar'
testImplementation 'junit:junit:4.+'
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'

View File

@ -18,7 +18,7 @@ import android.widget.LinearLayout;
import androidx.fragment.app.Fragment;
import org.videolan.libvlc.interfaces.IVLCVout;
import org.videolan.libvlc.IVLCVout;
import org.videolan.libvlc.LibVLC;
import org.videolan.libvlc.Media;
import org.videolan.libvlc.MediaPlayer;

View File

@ -0,0 +1 @@
Downgraded LibVLC library to fix black screen bug on certain devices

View File

@ -0,0 +1 @@
Downgrade della libreria libVLC per risolvere il bug della schermata nera in determinati dispositivi