[Android] Fix NullPointerException when showing the video tips in renderer mode

Nicolas Pomepuy git at videolan.org
Tue Oct 26 06:45:23 UTC 2021


vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Tue Oct 19 10:24:41 2021 +0200| [14d7dac7cc47bcd612e00ca69c09571f0c5453bf] | committer: Nicolas Pomepuy

Fix NullPointerException when showing the video tips in renderer mode

> https://code.videolan.org/videolan/vlc-android/commit/14d7dac7cc47bcd612e00ca69c09571f0c5453bf
---

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

diff --git a/application/vlc-android/res/layout/player_remote_control.xml b/application/vlc-android/res/layout/player_remote_control.xml
index 9bd1d4513..f7a8f18b3 100644
--- a/application/vlc-android/res/layout/player_remote_control.xml
+++ b/application/vlc-android/res/layout/player_remote_control.xml
@@ -15,6 +15,12 @@
             android:layout_height="match_parent"
             android:fitsSystemWindows="false" />
 
+    <androidx.appcompat.widget.ViewStubCompat
+            android:id="@+id/player_overlay_tips"
+            android:layout_width="match_parent"
+            android:layout_height="match_parent"
+            android:layout="@layout/player_tips" />
+
     <RelativeLayout
             android:id="@+id/player_overlay_background"
             android:layout_width="match_parent"



More information about the Android mailing list