From a6ac6b5eb080a7de2352e8dd9e5105fc7d86b289 Mon Sep 17 00:00:00 2001 From: wangqi Date: Wed, 20 Sep 2017 11:42:17 -0700 Subject: Add more logging when video surface texture is destroyed. Bug: 63608380 Test: none PiperOrigin-RevId: 169425768 Change-Id: I297b945c9601bb070f3ef08d7ca34a76629b42c7 --- .../incallui/videosurface/impl/VideoSurfaceTextureImpl.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'java/com/android/incallui/videosurface/impl') diff --git a/java/com/android/incallui/videosurface/impl/VideoSurfaceTextureImpl.java b/java/com/android/incallui/videosurface/impl/VideoSurfaceTextureImpl.java index 6ce564a87..fa757247d 100644 --- a/java/com/android/incallui/videosurface/impl/VideoSurfaceTextureImpl.java +++ b/java/com/android/incallui/videosurface/impl/VideoSurfaceTextureImpl.java @@ -220,10 +220,10 @@ public class VideoSurfaceTextureImpl implements VideoSurfaceTexture { public boolean onSurfaceTextureDestroyed(SurfaceTexture destroyedSurfaceTexture) { LogUtil.i( "SurfaceTextureListener.onSurfaceTextureDestroyed", - "destroyedSurfaceTexture: " - + destroyedSurfaceTexture - + " " - + VideoSurfaceTextureImpl.this.toString()); + "destroyedSurfaceTexture: %s, %s, isDoneWithSurface: %b", + destroyedSurfaceTexture, + VideoSurfaceTextureImpl.this.toString(), + isDoneWithSurface); if (delegate != null) { delegate.onSurfaceDestroyed(VideoSurfaceTextureImpl.this); } else { -- cgit v1.2.3