Merge "Get MediaDevice from devices list" into rvc-dev

This commit is contained in:
TreeHugger Robot
2020-03-31 04:26:31 +00:00
committed by Android (Google) Code Review

View File

@@ -151,7 +151,7 @@ public class MediaDeviceUpdateWorker extends SliceBackgroundWorker
}
MediaDevice getTopDevice() {
return mTopDevice;
return getMediaDeviceById(mTopDevice.getId());
}
boolean addDeviceToPlayMedia(MediaDevice device) {