From 441d3010d271eac982ec2877cd0764d5f31e3d8d Mon Sep 17 00:00:00 2001 From: Manuel Martin Date: Fri, 2 Aug 2019 17:14:50 +0200 Subject: [PATCH] Remove camera permission also for WaveVR --- .../vrbrowser/ui/widgets/settings/PrivacyOptionsView.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/common/shared/org/mozilla/vrbrowser/ui/widgets/settings/PrivacyOptionsView.java b/app/src/common/shared/org/mozilla/vrbrowser/ui/widgets/settings/PrivacyOptionsView.java index 16cd87a60..3d5db9c9b 100644 --- a/app/src/common/shared/org/mozilla/vrbrowser/ui/widgets/settings/PrivacyOptionsView.java +++ b/app/src/common/shared/org/mozilla/vrbrowser/ui/widgets/settings/PrivacyOptionsView.java @@ -104,7 +104,7 @@ private void initialize(Context aContext) { mPermissionButtons.add(Pair.create(findViewById(R.id.locationPermissionSwitch), Manifest.permission.ACCESS_FINE_LOCATION)); mPermissionButtons.add(Pair.create(findViewById(R.id.storagePermissionSwitch), Manifest.permission.READ_EXTERNAL_STORAGE)); - if (DeviceType.isOculusBuild()) { + if (DeviceType.isOculusBuild() || DeviceType.isWaveBuild()) { findViewById(R.id.cameraPermissionSwitch).setVisibility(View.GONE); }