commit | 620d9c919504d9d7af94366fa22730f139a991db | [log] [tgz] |
---|---|---|
author | Magnus Jedvert <magjed@webrtc.org> | Mon Nov 13 22:31:47 2017 +0100 |
committer | Commit Bot <commit-bot@chromium.org> | Mon Nov 13 22:18:51 2017 +0000 |
tree | 1ba48c155a081f467ba1c8d38e0522a8752fe96e | |
parent | 8c316c1a89b8ba3c31996d7dc7943fdd68e29c20 [diff] |
Move InitClassLoader from JNI_OnLoad to LoadGlobalClassReferenceHolder This fixes clients with custom JNI_OnLoad code. This is basically a reland of https://webrtc-review.googlesource.com/21281, but called from LoadGlobalClassReferenceHolder instead of InitGlobalJniVariables. The problem it solves is that some clients call InitGlobalJniVariables from a strange thread and without using the rest of our Java API. TBR=lliuu@@webrtc.org,sakal@webrtc.org Bug: webrtc:8278 Change-Id: I664e50920bcd7e087ec2d8bb5be13569e8ff3088 Reviewed-on: https://webrtc-review.googlesource.com/22801 Reviewed-by: Magnus Jedvert <magjed@webrtc.org> Commit-Queue: Magnus Jedvert <magjed@webrtc.org> Cr-Commit-Position: refs/heads/master@{#20663}
WebRTC is a free, open software project that provides browsers and mobile applications with Real-Time Communications (RTC) capabilities via simple APIs. The WebRTC components have been optimized to best serve this purpose.
Our mission: To enable rich, high-quality RTC applications to be developed for the browser, mobile platforms, and IoT devices, and allow them all to communicate via a common set of protocols.
The WebRTC initiative is a project supported by Google, Mozilla and Opera, amongst others.
See http://www.webrtc.org/native-code/development for instructions on how to get started developing with the native code.