[Output Switcher] Use Thread-safe list to store mediaDevices in
MediaManager Test: build pass Bug: 235183673 Change-Id: Ic00c1085f3ddc3c9bf68815a4ef96a5f1391556c
This commit is contained in:
committed by
Shaowei Shen
parent
fe44acf0d7
commit
84d0224973
@@ -32,7 +32,7 @@ public abstract class MediaManager {
|
||||
private static final String TAG = "MediaManager";
|
||||
|
||||
protected final Collection<MediaDeviceCallback> mCallbacks = new CopyOnWriteArrayList<>();
|
||||
protected final List<MediaDevice> mMediaDevices = new ArrayList<>();
|
||||
protected final List<MediaDevice> mMediaDevices = new CopyOnWriteArrayList<>();
|
||||
|
||||
protected Context mContext;
|
||||
protected Notification mNotification;
|
||||
|
||||
Reference in New Issue
Block a user