[Android] Ugly hack to fix Chrome OS build :(

Geoffrey Métais git at videolan.org
Thu Mar 17 14:14:26 CET 2016


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Thu Mar 17 14:13:54 2016 +0100| [cb14c77f7d0a1998c09fd0ac4707400a0067a044] | committer: Geoffrey Métais

Ugly hack to fix Chrome OS build :(

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

 vlc-android/res/layout-v16/player_action_bar.xml | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/vlc-android/res/layout-v16/player_action_bar.xml b/vlc-android/res/layout-v16/player_action_bar.xml
index e1cd510..299155e 100644
--- a/vlc-android/res/layout-v16/player_action_bar.xml
+++ b/vlc-android/res/layout-v16/player_action_bar.xml
@@ -42,4 +42,13 @@
         android:scaleType="center"
         android:focusable="true"
         android:visibility="gone" />
+    <!-- Useless views to fix Chrome OS build -->
+    <view
+        android:id="@+id/player_overlay_systime"
+        android:layout_width="0dp"
+        android:layout_height="0dp" />
+    <view
+        android:id="@+id/player_overlay_battery"
+        android:layout_width="0dp"
+        android:layout_height="0dp" />
 </LinearLayout>



More information about the Android mailing list