Merge "[Output Switcher] Use Thread-safe list to store mediaDevices in MediaManager" into tm-dev am: 82c3268cbe am: 18bf0e3aeb am: d871230249
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18911999 Change-Id: I48219a826c87dca6b28854413a7db9a72fac15be Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -32,7 +32,7 @@ public abstract class MediaManager {
|
|||||||
private static final String TAG = "MediaManager";
|
private static final String TAG = "MediaManager";
|
||||||
|
|
||||||
protected final Collection<MediaDeviceCallback> mCallbacks = new CopyOnWriteArrayList<>();
|
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 Context mContext;
|
||||||
protected Notification mNotification;
|
protected Notification mNotification;
|
||||||
|
|||||||
Reference in New Issue
Block a user