From ef453238aaf9d4b5c7ded9519c571e56205b0978 Mon Sep 17 00:00:00 2001 From: Magnus Jedvert Date: Thu, 19 Nov 2015 17:54:04 +0100 Subject: [PATCH] Android: Make classes non-final The classes are not mockable if they are final. R=phoglund@webrtc.org Review URL: https://codereview.webrtc.org/1459873002 . Cr-Commit-Position: refs/heads/master@{#10714} --- talk/app/webrtc/java/android/org/webrtc/EglBase.java | 2 +- .../webrtc/java/android/org/webrtc/SurfaceTextureHelper.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/talk/app/webrtc/java/android/org/webrtc/EglBase.java b/talk/app/webrtc/java/android/org/webrtc/EglBase.java index 2f8e4aa86d..1de34d254e 100644 --- a/talk/app/webrtc/java/android/org/webrtc/EglBase.java +++ b/talk/app/webrtc/java/android/org/webrtc/EglBase.java @@ -44,7 +44,7 @@ import javax.microedition.khronos.egl.EGLSurface; /** * Holds EGL state and utility methods for handling an EGLContext, an EGLDisplay, and an EGLSurface. */ -public final class EglBase { +public class EglBase { private static final String TAG = "EglBase"; // These constants are taken from EGL14.EGL_OPENGL_ES2_BIT and EGL14.EGL_CONTEXT_CLIENT_VERSION. // https://android.googlesource.com/platform/frameworks/base/+/master/opengl/java/android/opengl/EGL14.java diff --git a/talk/app/webrtc/java/android/org/webrtc/SurfaceTextureHelper.java b/talk/app/webrtc/java/android/org/webrtc/SurfaceTextureHelper.java index b9c158f848..261191a750 100644 --- a/talk/app/webrtc/java/android/org/webrtc/SurfaceTextureHelper.java +++ b/talk/app/webrtc/java/android/org/webrtc/SurfaceTextureHelper.java @@ -51,7 +51,7 @@ import javax.microedition.khronos.egl.EGLContext; * wrapping texture frames into webrtc::VideoFrames and also handles calling returnTextureFrame() * when the webrtc::VideoFrame is no longer used. */ -final class SurfaceTextureHelper { +class SurfaceTextureHelper { private static final String TAG = "SurfaceTextureHelper"; /** * Callback interface for being notified that a new texture frame is available. The calls will be