Remove deprecation warning from JVM::Initialize with the context parameter.

Decision was made to keep this API for the time being.

Bug: webrtc:7710
Change-Id: Ief41ffb2ec2345e3a74fc72927d038be1ff5941c
No-Try: True
Reviewed-on: https://chromium-review.googlesource.com/521085
Reviewed-by: Henrik Andreasson <henrika@webrtc.org>
Commit-Queue: Sami Kalliomäki <sakal@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#18377}
This commit is contained in:
Sami Kalliomäki 2017-06-01 13:38:27 +02:00 committed by Commit Bot
parent 3edccb999c
commit ab84272272

View File

@ -147,10 +147,9 @@ class JVM {
// Stores global handles to the Java VM interface.
// Should be called once on a thread that is attached to the JVM.
static void Initialize(JavaVM* jvm);
// TODO(sakal): Remove once downstream dependencies have been updated.
// DEPRECATED (crbug.com/webrtc/7710): Old signature taking the Android
// context as a parameter. Currently passes in the context to the ContextUtils
// class.
// Like the method above but also passes the context to the ContextUtils
// class. This method should be used by pure-C++ Android users that can't call
// ContextUtils.initialize directly.
static void Initialize(JavaVM* jvm, jobject context);
// Clears handles stored in Initialize(). Must be called on same thread as
// Initialize().