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/0028.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/0028.patch')
-rw-r--r-- | third_party/libwebrtc/moz-patch-stack/0028.patch | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/third_party/libwebrtc/moz-patch-stack/0028.patch b/third_party/libwebrtc/moz-patch-stack/0028.patch new file mode 100644 index 0000000000..d33bb501e7 --- /dev/null +++ b/third_party/libwebrtc/moz-patch-stack/0028.patch @@ -0,0 +1,43 @@ +From: Dan Minor <dminor@mozilla.com> +Date: Tue, 11 Feb 2020 17:07:00 +0000 +Subject: Bug 1578073 - Remove native calls in Histogram.java; r=ng + +Getting the JNI calls here to work requires a good amount of webrtc.org +machinery. It might be worth setting that up the next time we do an upstream +merge, but for now, it is a lot simpler to just remove the affected code, +given that we are not interested in collecting this data anyway. + +Differential Revision: https://phabricator.services.mozilla.com/D61860 +Mercurial Revision: https://hg.mozilla.org/mozilla-central/rev/7a9b07dec9f9d435416b06829fa5063aca3a476e +--- + sdk/android/src/java/org/webrtc/Histogram.java | 9 ++------- + 1 file changed, 2 insertions(+), 7 deletions(-) + +diff --git a/sdk/android/src/java/org/webrtc/Histogram.java b/sdk/android/src/java/org/webrtc/Histogram.java +index 877986134a..c1d2d61a71 100644 +--- a/sdk/android/src/java/org/webrtc/Histogram.java ++++ b/sdk/android/src/java/org/webrtc/Histogram.java +@@ -27,18 +27,13 @@ class Histogram { + } + + static public Histogram createCounts(String name, int min, int max, int bucketCount) { +- return new Histogram(nativeCreateCounts(name, min, max, bucketCount)); ++ return new Histogram(0); + } + + static public Histogram createEnumeration(String name, int max) { +- return new Histogram(nativeCreateEnumeration(name, max)); ++ return new Histogram(0); + } + + public void addSample(int sample) { +- nativeAddSample(handle, sample); + } +- +- private static native long nativeCreateCounts(String name, int min, int max, int bucketCount); +- private static native long nativeCreateEnumeration(String name, int max); +- private static native void nativeAddSample(long handle, int sample); + } +-- +2.34.1 + |