Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(387)

Issue 2888093004: Removes usage of native base::android::GetApplicationContext() (Closed)

Created:
3 years, 7 months ago by sakal
Modified:
3 years, 7 months ago
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com, audio-team_agora.io, sdk-team_agora.io, peah-webrtc
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

Removes usage of native base::android::GetApplicationContext() BUG=webrtc:7665 Review-Url: https://codereview.webrtc.org/2888093004 Cr-Commit-Position: refs/heads/master@{#18195} Committed: https://chromium.googlesource.com/external/webrtc/+/bc83e2ee696ca3672b8cebd658672e95eec4e465

Patch Set 1 : Original CL. #

Patch Set 2 : Do not depend on chromium. #

Total comments: 4

Patch Set 3 : Remove empty file. #

Total comments: 4

Patch Set 4 : Add cheks. #

Patch Set 5 : Comment similar to chromium. #

Patch Set 6 : Fix modules unittests. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+219 lines, -54 lines) Patch
M webrtc/base/BUILD.gn View 1 1 chunk +1 line, -0 lines 0 comments Download
A webrtc/base/java/src/org/webrtc/ContextUtils.java View 1 2 3 4 1 chunk +42 lines, -0 lines 0 comments Download
M webrtc/modules/audio_device/android/audio_manager.cc View 1 chunk +4 lines, -5 lines 0 comments Download
M webrtc/modules/audio_device/android/audio_record_jni.cc View 1 chunk +4 lines, -5 lines 0 comments Download
M webrtc/modules/audio_device/android/audio_track_jni.cc View 1 chunk +4 lines, -5 lines 0 comments Download
M webrtc/modules/audio_device/android/ensure_initialized.cc View 2 chunks +2 lines, -3 lines 0 comments Download
M webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine/WebRtcAudioManager.java View 1 5 chunks +10 lines, -7 lines 0 comments Download
M webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine/WebRtcAudioRecord.java View 1 4 chunks +4 lines, -4 lines 0 comments Download
M webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine/WebRtcAudioTrack.java View 1 3 chunks +4 lines, -4 lines 0 comments Download
M webrtc/modules/utility/include/jvm_android.h View 4 chunks +4 lines, -7 lines 0 comments Download
M webrtc/modules/utility/source/jvm_android.cc View 3 chunks +3 lines, -6 lines 0 comments Download
M webrtc/pc/test/androidtestinitializer.cc View 2 chunks +1 line, -3 lines 0 comments Download
M webrtc/sdk/android/api/org/webrtc/PeerConnectionFactory.java View 1 3 chunks +10 lines, -3 lines 0 comments Download
M webrtc/sdk/android/src/jni/peerconnection_jni.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M webrtc/test/BUILD.gn View 1 2 3 4 5 1 chunk +14 lines, -0 lines 0 comments Download
A webrtc/test/android/AndroidManifest.xml View 1 2 3 4 5 1 chunk +46 lines, -0 lines 0 comments Download
A webrtc/test/android/org/webrtc/native_test/RTCNativeUnitTest.java View 1 2 3 4 5 1 chunk +26 lines, -0 lines 0 comments Download
A webrtc/test/android/org/webrtc/native_test/RTCNativeUnitTestActivity.java View 1 2 3 4 5 1 chunk +34 lines, -0 lines 0 comments Download
M webrtc/webrtc.gni View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 25 (17 generated)
sakal
PTAL
3 years, 7 months ago (2017-05-18 07:54:48 UTC) #5
henrika_webrtc
Thanks. Looks great. Some comments. https://codereview.webrtc.org/2888093004/diff/20001/webrtc/base/java/src/org/webrtc/ContextUtils.java File webrtc/base/java/src/org/webrtc/ContextUtils.java (right): https://codereview.webrtc.org/2888093004/diff/20001/webrtc/base/java/src/org/webrtc/ContextUtils.java#newcode16 webrtc/base/java/src/org/webrtc/ContextUtils.java:16: * Class for storing ...
3 years, 7 months ago (2017-05-18 08:03:10 UTC) #6
sakal
https://codereview.webrtc.org/2888093004/diff/20001/webrtc/base/java/src/org/webrtc/ContextUtils.java File webrtc/base/java/src/org/webrtc/ContextUtils.java (right): https://codereview.webrtc.org/2888093004/diff/20001/webrtc/base/java/src/org/webrtc/ContextUtils.java#newcode16 webrtc/base/java/src/org/webrtc/ContextUtils.java:16: * Class for storing the application context and retrieving ...
3 years, 7 months ago (2017-05-18 08:16:57 UTC) #8
henrika_webrtc
lgtm
3 years, 7 months ago (2017-05-18 08:20:52 UTC) #9
henrika_webrtc
Great work. lgtm++
3 years, 7 months ago (2017-05-18 12:06:29 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2888093004/120001
3 years, 7 months ago (2017-05-18 13:25:58 UTC) #21
commit-bot: I haz the power
Committed patchset #6 (id:120001) as https://chromium.googlesource.com/external/webrtc/+/bc83e2ee696ca3672b8cebd658672e95eec4e465
3 years, 7 months ago (2017-05-18 13:28:53 UTC) #24
sakal
3 years, 7 months ago (2017-05-18 13:44:04 UTC) #25
Message was sent while issue was closed.
A revert of this CL (patchset #6 id:120001) has been created in
https://codereview.webrtc.org/2894593002/ by sakal@webrtc.org.

The reason for reverting is: Breaks bot on chromium.webrtc.fyi..

Powered by Google App Engine
This is Rietveld 408576698