Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3cd81b0a authored by archisha's avatar archisha Committed by Archisha Baranwal
Browse files

Remove closeable not found log from ViewCaptureAwareWindowManager.

Bug: 381179704
Flag: com.android.systemui.enable_view_capture_tracing
Test: None
Change-Id: I97ae2dfff35727e7d2f098b67f6ae790d113c88e
parent e3efbf63
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -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 @@ class ViewCaptureAwareWindowManager(
            if (viewCaptureCloseableMap.containsKey(view)) {
                viewCaptureCloseableMap[view]?.close()
                viewCaptureCloseableMap.remove(view)
            } else {
                Log.wtf(TAG, "removeView called with view not present in closeable map!")
            }
        }
    }