Index: talk/app/webrtc/java/android/org/webrtc/EglBase.java |
diff --git a/talk/app/webrtc/java/android/org/webrtc/EglBase.java b/talk/app/webrtc/java/android/org/webrtc/EglBase.java |
index 20af8ecc75587cd80dfc8dd7f152a326e0e0a86e..2aa28074c5ee94cf0675f3d577d08c73b0494822 100644 |
--- a/talk/app/webrtc/java/android/org/webrtc/EglBase.java |
+++ b/talk/app/webrtc/java/android/org/webrtc/EglBase.java |
@@ -32,9 +32,10 @@ import android.opengl.EGLConfig; |
import android.opengl.EGLContext; |
import android.opengl.EGLDisplay; |
import android.opengl.EGLSurface; |
-import android.util.Log; |
import android.view.Surface; |
+import org.webrtc.Logging; |
+ |
/** |
* Holds EGL state and utility methods for handling an EGLContext, an EGLDisplay, and an EGLSurface. |
*/ |
@@ -52,7 +53,7 @@ public final class EglBase { |
private EGLSurface eglSurface = EGL14.EGL_NO_SURFACE; |
public static boolean isEGL14Supported() { |
- Log.d(TAG, "SDK version: " + CURRENT_SDK_VERSION); |
+ Logging.d(TAG, "SDK version: " + CURRENT_SDK_VERSION); |
return (CURRENT_SDK_VERSION >= EGL14_SDK_VERSION); |
} |
@@ -86,7 +87,7 @@ public final class EglBase { |
public void createSurface(Surface surface) { |
checkIsNotReleased(); |
if (configType == ConfigType.PIXEL_BUFFER) { |
- Log.w(TAG, "This EGL context is configured for PIXEL_BUFFER, but uses regular Surface"); |
+ Logging.w(TAG, "This EGL context is configured for PIXEL_BUFFER, but uses regular Surface"); |
} |
if (eglSurface != EGL14.EGL_NO_SURFACE) { |
throw new RuntimeException("Already has an EGLSurface"); |