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

Issue 2903253004: Reland of 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, yujie_mao (webrtc), tterriberry_mozilla.com, audio-team_agora.io, qiang.lu, niklas.enbom, sdk-team_agora.io, peah-webrtc, kjellander_webrtc
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

Reland of Removes usage of native base::android::GetApplicationContext() The change is now compatible with the old JVM::Initialize API. The context is passed to the ContextUtils class when calling its deprecated signature. BUG=webrtc:7665 NOTRY=True # Only comment changes since the last patchset. Review-Url: https://codereview.webrtc.org/2903253004 Cr-Commit-Position: refs/heads/master@{#18268} Committed: https://chromium.googlesource.com/external/webrtc/+/d7fdb8014d71e669618c675b2c29c6dfe7d426d3

Patch Set 1 : Original CL. #

Patch Set 2 : Allow using the old API for a migration period. #

Patch Set 3 : Reorder tags... #

Patch Set 4 : Forward the call. #

Total comments: 2

Patch Set 5 : Deprecated comment. #

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

Messages

Total messages: 22 (14 generated)
sakal
PTAL
3 years, 7 months ago (2017-05-26 07:41:37 UTC) #4
kjellander_webrtc
Please update the description about that this time it's compatible with the old API (it ...
3 years, 7 months ago (2017-05-26 08:11:43 UTC) #6
henrika_webrtc
lgtm
3 years, 7 months ago (2017-05-26 08:34:47 UTC) #12
henrika_webrtc
https://codereview.webrtc.org/2903253004/diff/60001/webrtc/modules/utility/include/jvm_android.h File webrtc/modules/utility/include/jvm_android.h (right): https://codereview.webrtc.org/2903253004/diff/60001/webrtc/modules/utility/include/jvm_android.h#newcode151 webrtc/modules/utility/include/jvm_android.h:151: // Deprecated old signature with Android context. Nit, deprecate.
3 years, 7 months ago (2017-05-26 08:34:57 UTC) #13
sakal
https://codereview.webrtc.org/2903253004/diff/60001/webrtc/modules/utility/include/jvm_android.h File webrtc/modules/utility/include/jvm_android.h (right): https://codereview.webrtc.org/2903253004/diff/60001/webrtc/modules/utility/include/jvm_android.h#newcode151 webrtc/modules/utility/include/jvm_android.h:151: // Deprecated old signature with Android context. On 2017/05/26 ...
3 years, 7 months ago (2017-05-26 08:49:33 UTC) #15
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/2903253004/80001
3 years, 7 months ago (2017-05-26 08:49:59 UTC) #18
commit-bot: I haz the power
Committed patchset #5 (id:80001) as https://chromium.googlesource.com/external/webrtc/+/d7fdb8014d71e669618c675b2c29c6dfe7d426d3
3 years, 7 months ago (2017-05-26 08:52:00 UTC) #21
kjellander_webrtc
3 years, 7 months ago (2017-05-26 08:59:07 UTC) #22
Message was sent while issue was closed.
lgtm

Powered by Google App Engine
This is Rietveld 408576698