DescriptionAndroid Logging.java: Load native library only when needed
Logging.java currently always tries to load jingle_peerconnection_so in
the static section, but some clients don't want to use it. This CL loads
jingle_peerconnection_so only when a client requests it by calling one
of:
* Logging.enableLogThreads
* Logging.enableLogTimeStamps
* Logging.enableTracing
* Logging.enableLogToDebugOutput
BUG=b/36410678
Review-Url: https://codereview.webrtc.org/2803203002
Cr-Commit-Position: refs/heads/master@{#17647}
Committed: https://chromium.googlesource.com/external/webrtc/+/dee5eb14e1d4e5bd894772448cc9418e94b3a967
Patch Set 1 #Patch Set 2 : Load jingle_peerconnection_so in FileVideoCapturer and VideoFileRenderer #
Total comments: 4
Patch Set 3 : Add class comment to Logging.java, and always set fallbackLogger.setLevel(Level.ALL). #
Messages
Total messages: 27 (16 generated)
|