Merge "Get package name on worker instead of on slice"

This commit is contained in:
TreeHugger Robot
2019-12-23 06:59:12 +00:00
committed by Android (Google) Code Review
3 changed files with 5 additions and 14 deletions

View File

@@ -98,7 +98,6 @@ public class MediaOutputSliceTest {
mMediaOutputSlice = new MediaOutputSlice(mContext);
mMediaDeviceUpdateWorker = new MediaDeviceUpdateWorker(mContext, MEDIA_OUTPUT_SLICE_URI);
mMediaDeviceUpdateWorker.setPackageName(TEST_PACKAGE_NAME);
mMediaDeviceUpdateWorker.onDeviceListUpdate(mDevices);
mMediaDeviceUpdateWorker.mLocalMediaManager = mLocalMediaManager;
mMediaOutputSlice.init(TEST_PACKAGE_NAME, mMediaDeviceUpdateWorker);