Merge "[Output Switcher] Use Thread-safe list to store mediaDevices in MediaManager" into tm-dev am: 82c3268cbe
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18911999 Change-Id: Iaf65dfd933ddc922a4a8174cd31a6c6825472691 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