[Android] Fix NPE / IllegalStateException
Nicolas Pomepuy
git at videolan.org
Fri Aug 2 14:57:43 CEST 2019
vlc-android | branch: 3.2.x | Nicolas Pomepuy <nicolas.pomepuy at gmail.com> | Thu Aug 1 11:04:20 2019 +0200| [96cab698a73adf71db2aa3dc399f900deb16954d] | committer: Geoffrey Métais
Fix NPE / IllegalStateException
(cherry picked from commit 7c6c7b1745057e2761b89acd605fb987e95af8c5)
> https://code.videolan.org/videolan/vlc-android/commit/96cab698a73adf71db2aa3dc399f900deb16954d
---
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