Remove proxy layer from AndroidVideoTrackSource

This layer is not needed since the methods are thread safe, and the
classes those method touches (VideoBroadcaster, cricket::VideoAdapter)
are thread safe.

Bug: webrtc:10247
Change-Id: Id4e309de4ac1b9669052aaa60d3bd1ed965aaa29
Reviewed-on: https://webrtc-review.googlesource.com/c/120801
Reviewed-by: Niels Moller <nisse@webrtc.org>
Reviewed-by: Sami Kalliomäki <sakal@webrtc.org>
Commit-Queue: Magnus Jedvert <magjed@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#26543}
diff --git a/sdk/android/api/org/webrtc/VideoSource.java b/sdk/android/api/org/webrtc/VideoSource.java
index 8863092..995304e 100644
--- a/sdk/android/api/org/webrtc/VideoSource.java
+++ b/sdk/android/api/org/webrtc/VideoSource.java
@@ -20,7 +20,7 @@
 
   public VideoSource(long nativeSource) {
     super(nativeSource);
-    this.capturerObserver = new NativeCapturerObserver(nativeGetInternalSource(nativeSource));
+    this.capturerObserver = new NativeCapturerObserver(nativeSource);
   }
 
   /**
@@ -55,8 +55,6 @@
     return getNativeMediaSource();
   }
 
-  // Returns source->internal() from webrtc::VideoTrackSourceProxy.
-  private static native long nativeGetInternalSource(long source);
   private static native void nativeAdaptOutputFormat(long source, int landscapeWidth,
       int landscapeHeight, int portraitWidth, int portraitHeight, int fps);
 }