Fix ConcurrentHashMap usage in demo MediaPipeProcessor.

PiperOrigin-RevId: 465563540
(cherry picked from commit 6e4fc4752248f1a1d233dea041305718cae08cd0)
This commit is contained in:
Googler 2022-08-05 14:56:54 +00:00 committed by microkatz
parent 7218cb961b
commit 03b490b47f

View File

@ -69,7 +69,6 @@ import org.checkerframework.checker.nullness.qual.MonotonicNonNull;
* @param inputStreamName Name of the input video stream in the graph. * @param inputStreamName Name of the input video stream in the graph.
* @param outputStreamName Name of the input video stream in the graph. * @param outputStreamName Name of the input video stream in the graph.
*/ */
@SuppressWarnings("AndroidConcurrentHashMap") // Only used on API >= 23.
public MediaPipeProcessor( public MediaPipeProcessor(
Context context, Context context,
boolean useHdr, boolean useHdr,