Remove closeable not found log from ViewCaptureAwareWindowManager.
Bug: 381179704
Flag: com.android.systemui.enable_view_capture_tracing
Test: None
Change-Id: I97ae2dfff35727e7d2f098b67f6ae790d113c88e
diff --git a/viewcapturelib/src/com/android/app/viewcapture/ViewCaptureAwareWindowManager.kt b/viewcapturelib/src/com/android/app/viewcapture/ViewCaptureAwareWindowManager.kt
index 172975b..59e35da 100644
--- a/viewcapturelib/src/com/android/app/viewcapture/ViewCaptureAwareWindowManager.kt
+++ b/viewcapturelib/src/com/android/app/viewcapture/ViewCaptureAwareWindowManager.kt
@@ -17,7 +17,6 @@
package com.android.app.viewcapture
import android.media.permission.SafeCloseable
-import android.util.Log
import android.view.View
import android.view.ViewGroup
import android.view.WindowManager
@@ -63,8 +62,6 @@
if (viewCaptureCloseableMap.containsKey(view)) {
viewCaptureCloseableMap[view]?.close()
viewCaptureCloseableMap.remove(view)
- } else {
- Log.wtf(TAG, "removeView called with view not present in closeable map!")
}
}
}