Skip to content

Commit

Permalink
Hide DRM for Pico devices
Browse files Browse the repository at this point in the history
  • Loading branch information
keianhzo committed Apr 8, 2020
1 parent 582c4a2 commit 56dde9b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion app/src/main/res/layout/options_privacy.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
<layout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto">

<data>
<import type="org.mozilla.vrbrowser.utils.DeviceType"/>
</data>

<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
Expand Down Expand Up @@ -49,7 +53,8 @@
android:id="@+id/drmContentPlaybackSwitch"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:description="@string/security_options_drm_content_v1" />
app:description="@string/security_options_drm_content_v1"
visibleGone="@{!DeviceType.picoVR}"/>

<org.mozilla.vrbrowser.ui.views.settings.SwitchSetting
android:id="@+id/restoreTabsSwitch"
Expand Down

0 comments on commit 56dde9b

Please sign in to comment.