[Android] Fix NPE / IllegalStateException

Nicolas Pomepuy git at videolan.org
Fri Aug 2 14:35:43 CEST 2019


vlc-android | branch: master | Nicolas Pomepuy <nicolas.pomepuy at gmail.com> | Thu Aug  1 11:04:20 2019 +0200| [7c6c7b1745057e2761b89acd605fb987e95af8c5] | committer: Nicolas Pomepuy

Fix NPE / IllegalStateException

> https://code.videolan.org/videolan/vlc-android/commit/7c6c7b1745057e2761b89acd605fb987e95af8c5
---

 vlc-android/res/layout/player_remote_control.xml | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/vlc-android/res/layout/player_remote_control.xml b/vlc-android/res/layout/player_remote_control.xml
index b27ed7bf7..438a6dc7c 100644
--- a/vlc-android/res/layout/player_remote_control.xml
+++ b/vlc-android/res/layout/player_remote_control.xml
@@ -65,6 +65,13 @@
             android:layout_marginBottom="@dimen/default_margin"
             android:layout="@layout/player_overlay_settings" />
 
+        <androidx.appcompat.widget.ViewStubCompat
+                android:id="@+id/player_seek_stub"
+                android:layout_width="match_parent"
+                android:layout_height="match_parent"
+                android:fitsSystemWindows="false"
+                android:layout="@layout/player_overlay_seek"/>
+
         <androidx.appcompat.widget.ViewStubCompat
             android:id="@+id/player_hud_stub"
             android:layout_width="match_parent"



More information about the Android mailing list