diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 17:32:43 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 17:32:43 +0000 |
commit | 6bf0a5cb5034a7e684dcc3500e841785237ce2dd (patch) | |
tree | a68f146d7fa01f0134297619fbe7e33db084e0aa /third_party/libwebrtc/moz-patch-stack/0029.patch | |
parent | Initial commit. (diff) | |
download | thunderbird-6bf0a5cb5034a7e684dcc3500e841785237ce2dd.tar.xz thunderbird-6bf0a5cb5034a7e684dcc3500e841785237ce2dd.zip |
Adding upstream version 1:115.7.0.upstream/1%115.7.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'third_party/libwebrtc/moz-patch-stack/0029.patch')
-rw-r--r-- | third_party/libwebrtc/moz-patch-stack/0029.patch | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/third_party/libwebrtc/moz-patch-stack/0029.patch b/third_party/libwebrtc/moz-patch-stack/0029.patch new file mode 100644 index 0000000000..407fcccce2 --- /dev/null +++ b/third_party/libwebrtc/moz-patch-stack/0029.patch @@ -0,0 +1,36 @@ +From: Dan Minor <dminor@mozilla.com> +Date: Wed, 12 Feb 2020 17:19:00 +0000 +Subject: Bug 1578073 - Suppress MissingPermission lint in Camera2Session; + r=snorp + +Depends on D61861 + +Differential Revision: https://phabricator.services.mozilla.com/D62457 +Mercurial Revision: https://hg.mozilla.org/mozilla-central/rev/722c4a6d1dad867f9ce47fe96d71b5dedb4cbaa8 +--- + sdk/android/src/java/org/webrtc/Camera2Session.java | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/sdk/android/src/java/org/webrtc/Camera2Session.java b/sdk/android/src/java/org/webrtc/Camera2Session.java +index dec97a2c25..d5ee80c73e 100644 +--- a/sdk/android/src/java/org/webrtc/Camera2Session.java ++++ b/sdk/android/src/java/org/webrtc/Camera2Session.java +@@ -10,6 +10,7 @@ + + package org.webrtc; + ++import android.annotation.SuppressLint; + import android.content.Context; + import android.hardware.camera2.CameraAccessException; + import android.hardware.camera2.CameraCaptureSession; +@@ -347,6 +348,7 @@ class Camera2Session implements CameraSession { + Logging.d(TAG, "Using capture format: " + captureFormat); + } + ++ @SuppressLint("MissingPermission") + private void openCamera() { + checkIsOnCameraThread(); + +-- +2.34.1 + |