Loading packages/MediaComponents/src/com/android/media/MediaController2Impl.java +3 −3 Original line number Diff line number Diff line Loading @@ -471,7 +471,7 @@ public class MediaController2Impl implements MediaController2Provider { Bundle args = new Bundle(); args.putInt(MediaSession2Stub.ARGUMENT_KEY_ITEM_INDEX, item); sendTransportControlCommand( MediaSession2.COMMAND_CODE_PLAYBACK_SET_CURRENT_PLAYLIST_ITEM, args); MediaSession2.COMMAND_CODE_PLAYBACK_SKIP_TO_PLAYLIST_ITEM, args); */ } Loading @@ -483,12 +483,12 @@ public class MediaController2Impl implements MediaController2Provider { } @Override public void removePlaylistItem_impl(MediaItem2 index) { public void addPlaylistItem_impl(int index, MediaItem2 item) { // TODO(jaewan): Implement } @Override public void addPlaylistItem_impl(int index, MediaItem2 item) { public void removePlaylistItem_impl(MediaItem2 item) { // TODO(jaewan): Implement } Loading packages/MediaComponents/src/com/android/media/MediaLibraryService2Impl.java +2 −3 Original line number Diff line number Diff line Loading @@ -131,9 +131,8 @@ public class MediaLibraryService2Impl extends MediaSessionService2Impl implement public static class BuilderImpl extends BuilderBaseImpl<MediaLibrarySession, MediaLibrarySessionCallback> { public BuilderImpl(MediaLibraryService2 service, Builder instance, MediaPlayerBase player, Executor callbackExecutor, MediaLibrarySessionCallback callback) { super(service, player); Executor callbackExecutor, MediaLibrarySessionCallback callback) { super(service); setSessionCallback_impl(callbackExecutor, callback); } Loading packages/MediaComponents/src/com/android/media/MediaSession2Impl.java +40 −44 Original line number Diff line number Diff line Loading @@ -39,6 +39,7 @@ import android.media.MediaLibraryService2; import android.media.MediaMetadata2; import android.media.MediaPlayerBase; import android.media.MediaPlayerBase.PlayerEventCallback; import android.media.MediaPlaylistController; import android.media.MediaSession2; import android.media.MediaSession2.Builder; import android.media.MediaSession2.Command; Loading Loading @@ -202,24 +203,13 @@ public class MediaSession2Impl implements MediaSession2Provider { } @Override public void setPlayer_impl(MediaPlayerBase player) { public void setPlayer_impl(MediaPlayerBase player, MediaPlaylistController mpcl, VolumeProvider2 volumeProvider) throws IllegalArgumentException { ensureCallingThread(); if (player == null) { throw new IllegalArgumentException("player shouldn't be null"); } setPlayer(player, null); } @Override public void setPlayer_impl(MediaPlayerBase player, VolumeProvider2 volumeProvider) throws IllegalArgumentException { ensureCallingThread(); if (player == null) { throw new IllegalArgumentException("player shouldn't be null"); } if (volumeProvider == null) { throw new IllegalArgumentException("volumeProvider shouldn't be null"); } setPlayer(player, volumeProvider); } Loading Loading @@ -629,7 +619,7 @@ public class MediaSession2Impl implements MediaSession2Provider { } @Override public void notifyError_impl(int errorCode, int extra) { public void notifyError_impl(int errorCode, Bundle extras) { // TODO(jaewan): Implement } Loading Loading @@ -778,30 +768,30 @@ public class MediaSession2Impl implements MediaSession2Provider { = "android.media.media_session2.command.command_code"; private static final String KEY_COMMAND_CUSTOM_COMMAND = "android.media.media_session2.command.custom_command"; private static final String KEY_COMMAND_EXTRA = "android.media.media_session2.command.extra"; private static final String KEY_COMMAND_EXTRAS = "android.media.media_session2.command.extras"; private final Command mInstance; private final int mCommandCode; // Nonnull if it's custom command private final String mCustomCommand; private final Bundle mExtra; private final Bundle mExtras; public CommandImpl(Command instance, int commandCode) { mInstance = instance; mCommandCode = commandCode; mCustomCommand = null; mExtra = null; mExtras = null; } public CommandImpl(Command instance, @NonNull String action, @Nullable Bundle extra) { public CommandImpl(Command instance, @NonNull String action, @Nullable Bundle extras) { if (action == null) { throw new IllegalArgumentException("action shouldn't be null"); } mInstance = instance; mCommandCode = COMMAND_CODE_CUSTOM; mCustomCommand = action; mExtra = extra; mExtras = extras; } public int getCommandCode_impl() { Loading @@ -812,8 +802,8 @@ public class MediaSession2Impl implements MediaSession2Provider { return mCustomCommand; } public @Nullable Bundle getExtra_impl() { return mExtra; public @Nullable Bundle getExtras_impl() { return mExtras; } /** Loading @@ -823,7 +813,7 @@ public class MediaSession2Impl implements MediaSession2Provider { Bundle bundle = new Bundle(); bundle.putInt(KEY_COMMAND_CODE, mCommandCode); bundle.putString(KEY_COMMAND_CUSTOM_COMMAND, mCustomCommand); bundle.putBundle(KEY_COMMAND_EXTRA, mExtra); bundle.putBundle(KEY_COMMAND_EXTRAS, mExtras); return bundle; } Loading @@ -839,7 +829,7 @@ public class MediaSession2Impl implements MediaSession2Provider { if (customCommand == null) { return null; } return new Command(context, customCommand, command.getBundle(KEY_COMMAND_EXTRA)); return new Command(context, customCommand, command.getBundle(KEY_COMMAND_EXTRAS)); } } Loading Loading @@ -1132,8 +1122,8 @@ public class MediaSession2Impl implements MediaSession2Provider { = "android.media.media_session2.command_button.icon_res_id"; private static final String KEY_DISPLAY_NAME = "android.media.media_session2.command_button.display_name"; private static final String KEY_EXTRA = "android.media.media_session2.command_button.extra"; private static final String KEY_EXTRAS = "android.media.media_session2.command_button.extras"; private static final String KEY_ENABLED = "android.media.media_session2.command_button.enabled"; Loading @@ -1141,15 +1131,15 @@ public class MediaSession2Impl implements MediaSession2Provider { private Command mCommand; private int mIconResId; private String mDisplayName; private Bundle mExtra; private Bundle mExtras; private boolean mEnabled; public CommandButtonImpl(Context context, @Nullable Command command, int iconResId, @Nullable String displayName, Bundle extra, boolean enabled) { @Nullable String displayName, Bundle extras, boolean enabled) { mCommand = command; mIconResId = iconResId; mDisplayName = displayName; mExtra = extra; mExtras = extras; mEnabled = enabled; mInstance = new CommandButton(this); } Loading @@ -1170,8 +1160,8 @@ public class MediaSession2Impl implements MediaSession2Provider { } @Override public @Nullable Bundle getExtra_impl() { return mExtra; public @Nullable Bundle getExtras_impl() { return mExtras; } @Override Loading @@ -1184,7 +1174,7 @@ public class MediaSession2Impl implements MediaSession2Provider { bundle.putBundle(KEY_COMMAND, mCommand.toBundle()); bundle.putInt(KEY_ICON_RES_ID, mIconResId); bundle.putString(KEY_DISPLAY_NAME, mDisplayName); bundle.putBundle(KEY_EXTRA, mExtra); bundle.putBundle(KEY_EXTRAS, mExtras); bundle.putBoolean(KEY_ENABLED, mEnabled); return bundle; } Loading @@ -1197,7 +1187,7 @@ public class MediaSession2Impl implements MediaSession2Provider { builder.setCommand(Command.fromBundle(context, bundle.getBundle(KEY_COMMAND))); builder.setIconResId(bundle.getInt(KEY_ICON_RES_ID, 0)); builder.setDisplayName(bundle.getString(KEY_DISPLAY_NAME)); builder.setExtra(bundle.getBundle(KEY_EXTRA)); builder.setExtras(bundle.getBundle(KEY_EXTRAS)); builder.setEnabled(bundle.getBoolean(KEY_ENABLED)); try { return builder.build(); Loading @@ -1216,7 +1206,7 @@ public class MediaSession2Impl implements MediaSession2Provider { private Command mCommand; private int mIconResId; private String mDisplayName; private Bundle mExtra; private Bundle mExtras; private boolean mEnabled; public BuilderImpl(Context context, CommandButton.Builder instance) { Loading Loading @@ -1250,8 +1240,8 @@ public class MediaSession2Impl implements MediaSession2Provider { } @Override public CommandButton.Builder setExtra_impl(Bundle extra) { mExtra = extra; public CommandButton.Builder setExtras_impl(Bundle extras) { mExtras = extras; return mInstance; } Loading @@ -1267,7 +1257,7 @@ public class MediaSession2Impl implements MediaSession2Provider { + " and name to display"); } return new CommandButtonImpl( mContext, mCommand, mIconResId, mDisplayName, mExtra, mEnabled).mInstance; mContext, mCommand, mIconResId, mDisplayName, mExtras, mEnabled).mInstance; } } } Loading @@ -1275,7 +1265,7 @@ public class MediaSession2Impl implements MediaSession2Provider { public static abstract class BuilderBaseImpl<T extends MediaSession2, C extends SessionCallback> implements BuilderBaseProvider<T, C> { final Context mContext; final MediaPlayerBase mPlayer; MediaPlayerBase mPlayer; String mId; Executor mCallbackExecutor; C mCallback; Loading @@ -1291,17 +1281,23 @@ public class MediaSession2Impl implements MediaSession2Provider { * {@link MediaSession2} or {@link MediaController2}. */ // TODO(jaewan): Also need executor public BuilderBaseImpl(Context context, MediaPlayerBase player) { public BuilderBaseImpl(Context context) { if (context == null) { throw new IllegalArgumentException("context shouldn't be null"); } mContext = context; // Ensure non-null mId = ""; } public void setPlayer_impl(MediaPlayerBase player, MediaPlaylistController mplc, VolumeProvider2 volumeProvider) { // TODO: Use MediaPlaylistController if (player == null) { throw new IllegalArgumentException("player shouldn't be null"); } mContext = context; mPlayer = player; // Ensure non-null mId = ""; mVolumeProvider = volumeProvider; } public void setVolumeProvider_impl(VolumeProvider2 volumeProvider) { Loading Loading @@ -1334,8 +1330,8 @@ public class MediaSession2Impl implements MediaSession2Provider { } public static class BuilderImpl extends BuilderBaseImpl<MediaSession2, SessionCallback> { public BuilderImpl(Context context, Builder instance, MediaPlayerBase player) { super(context, player); public BuilderImpl(Context context, Builder instance) { super(context); } @Override Loading packages/MediaComponents/src/com/android/media/MediaSession2Stub.java +1 −1 Original line number Diff line number Diff line Loading @@ -356,7 +356,7 @@ public class MediaSession2Stub extends IMediaSession2.Stub { case MediaSession2.COMMAND_CODE_PLAYBACK_SEEK_TO: session.getInstance().seekTo(args.getLong(ARGUMENT_KEY_POSITION)); break; case MediaSession2.COMMAND_CODE_PLAYBACK_SET_CURRENT_PLAYLIST_ITEM: case MediaSession2.COMMAND_CODE_PLAYBACK_SKIP_TO_PLAYLIST_ITEM: // TODO(jaewan): Implement /* session.getInstance().skipToPlaylistItem( Loading packages/MediaComponents/src/com/android/media/update/ApiFactory.java +5 −5 Original line number Diff line number Diff line Loading @@ -162,8 +162,8 @@ public class ApiFactory implements StaticProvider { } public BuilderBaseProvider<MediaSession2, SessionCallback> createMediaSession2Builder( Context context, MediaSession2.Builder instance, MediaPlayerBase player) { return new MediaSession2Impl.BuilderImpl(context, instance, player); Context context, MediaSession2.Builder instance) { return new MediaSession2Impl.BuilderImpl(context, instance); } @Override Loading @@ -188,9 +188,9 @@ public class ApiFactory implements StaticProvider { @Override public BuilderBaseProvider<MediaLibrarySession, MediaLibrarySessionCallback> createMediaLibraryService2Builder(MediaLibraryService2 service, MediaLibrarySession.Builder instance, MediaPlayerBase player, Executor callbackExecutor, MediaLibrarySessionCallback callback) { return new MediaLibraryService2Impl.BuilderImpl(service, instance, player, callbackExecutor, MediaLibrarySession.Builder instance, Executor callbackExecutor, MediaLibrarySessionCallback callback) { return new MediaLibraryService2Impl.BuilderImpl(service, instance, callbackExecutor, callback); } Loading Loading
packages/MediaComponents/src/com/android/media/MediaController2Impl.java +3 −3 Original line number Diff line number Diff line Loading @@ -471,7 +471,7 @@ public class MediaController2Impl implements MediaController2Provider { Bundle args = new Bundle(); args.putInt(MediaSession2Stub.ARGUMENT_KEY_ITEM_INDEX, item); sendTransportControlCommand( MediaSession2.COMMAND_CODE_PLAYBACK_SET_CURRENT_PLAYLIST_ITEM, args); MediaSession2.COMMAND_CODE_PLAYBACK_SKIP_TO_PLAYLIST_ITEM, args); */ } Loading @@ -483,12 +483,12 @@ public class MediaController2Impl implements MediaController2Provider { } @Override public void removePlaylistItem_impl(MediaItem2 index) { public void addPlaylistItem_impl(int index, MediaItem2 item) { // TODO(jaewan): Implement } @Override public void addPlaylistItem_impl(int index, MediaItem2 item) { public void removePlaylistItem_impl(MediaItem2 item) { // TODO(jaewan): Implement } Loading
packages/MediaComponents/src/com/android/media/MediaLibraryService2Impl.java +2 −3 Original line number Diff line number Diff line Loading @@ -131,9 +131,8 @@ public class MediaLibraryService2Impl extends MediaSessionService2Impl implement public static class BuilderImpl extends BuilderBaseImpl<MediaLibrarySession, MediaLibrarySessionCallback> { public BuilderImpl(MediaLibraryService2 service, Builder instance, MediaPlayerBase player, Executor callbackExecutor, MediaLibrarySessionCallback callback) { super(service, player); Executor callbackExecutor, MediaLibrarySessionCallback callback) { super(service); setSessionCallback_impl(callbackExecutor, callback); } Loading
packages/MediaComponents/src/com/android/media/MediaSession2Impl.java +40 −44 Original line number Diff line number Diff line Loading @@ -39,6 +39,7 @@ import android.media.MediaLibraryService2; import android.media.MediaMetadata2; import android.media.MediaPlayerBase; import android.media.MediaPlayerBase.PlayerEventCallback; import android.media.MediaPlaylistController; import android.media.MediaSession2; import android.media.MediaSession2.Builder; import android.media.MediaSession2.Command; Loading Loading @@ -202,24 +203,13 @@ public class MediaSession2Impl implements MediaSession2Provider { } @Override public void setPlayer_impl(MediaPlayerBase player) { public void setPlayer_impl(MediaPlayerBase player, MediaPlaylistController mpcl, VolumeProvider2 volumeProvider) throws IllegalArgumentException { ensureCallingThread(); if (player == null) { throw new IllegalArgumentException("player shouldn't be null"); } setPlayer(player, null); } @Override public void setPlayer_impl(MediaPlayerBase player, VolumeProvider2 volumeProvider) throws IllegalArgumentException { ensureCallingThread(); if (player == null) { throw new IllegalArgumentException("player shouldn't be null"); } if (volumeProvider == null) { throw new IllegalArgumentException("volumeProvider shouldn't be null"); } setPlayer(player, volumeProvider); } Loading Loading @@ -629,7 +619,7 @@ public class MediaSession2Impl implements MediaSession2Provider { } @Override public void notifyError_impl(int errorCode, int extra) { public void notifyError_impl(int errorCode, Bundle extras) { // TODO(jaewan): Implement } Loading Loading @@ -778,30 +768,30 @@ public class MediaSession2Impl implements MediaSession2Provider { = "android.media.media_session2.command.command_code"; private static final String KEY_COMMAND_CUSTOM_COMMAND = "android.media.media_session2.command.custom_command"; private static final String KEY_COMMAND_EXTRA = "android.media.media_session2.command.extra"; private static final String KEY_COMMAND_EXTRAS = "android.media.media_session2.command.extras"; private final Command mInstance; private final int mCommandCode; // Nonnull if it's custom command private final String mCustomCommand; private final Bundle mExtra; private final Bundle mExtras; public CommandImpl(Command instance, int commandCode) { mInstance = instance; mCommandCode = commandCode; mCustomCommand = null; mExtra = null; mExtras = null; } public CommandImpl(Command instance, @NonNull String action, @Nullable Bundle extra) { public CommandImpl(Command instance, @NonNull String action, @Nullable Bundle extras) { if (action == null) { throw new IllegalArgumentException("action shouldn't be null"); } mInstance = instance; mCommandCode = COMMAND_CODE_CUSTOM; mCustomCommand = action; mExtra = extra; mExtras = extras; } public int getCommandCode_impl() { Loading @@ -812,8 +802,8 @@ public class MediaSession2Impl implements MediaSession2Provider { return mCustomCommand; } public @Nullable Bundle getExtra_impl() { return mExtra; public @Nullable Bundle getExtras_impl() { return mExtras; } /** Loading @@ -823,7 +813,7 @@ public class MediaSession2Impl implements MediaSession2Provider { Bundle bundle = new Bundle(); bundle.putInt(KEY_COMMAND_CODE, mCommandCode); bundle.putString(KEY_COMMAND_CUSTOM_COMMAND, mCustomCommand); bundle.putBundle(KEY_COMMAND_EXTRA, mExtra); bundle.putBundle(KEY_COMMAND_EXTRAS, mExtras); return bundle; } Loading @@ -839,7 +829,7 @@ public class MediaSession2Impl implements MediaSession2Provider { if (customCommand == null) { return null; } return new Command(context, customCommand, command.getBundle(KEY_COMMAND_EXTRA)); return new Command(context, customCommand, command.getBundle(KEY_COMMAND_EXTRAS)); } } Loading Loading @@ -1132,8 +1122,8 @@ public class MediaSession2Impl implements MediaSession2Provider { = "android.media.media_session2.command_button.icon_res_id"; private static final String KEY_DISPLAY_NAME = "android.media.media_session2.command_button.display_name"; private static final String KEY_EXTRA = "android.media.media_session2.command_button.extra"; private static final String KEY_EXTRAS = "android.media.media_session2.command_button.extras"; private static final String KEY_ENABLED = "android.media.media_session2.command_button.enabled"; Loading @@ -1141,15 +1131,15 @@ public class MediaSession2Impl implements MediaSession2Provider { private Command mCommand; private int mIconResId; private String mDisplayName; private Bundle mExtra; private Bundle mExtras; private boolean mEnabled; public CommandButtonImpl(Context context, @Nullable Command command, int iconResId, @Nullable String displayName, Bundle extra, boolean enabled) { @Nullable String displayName, Bundle extras, boolean enabled) { mCommand = command; mIconResId = iconResId; mDisplayName = displayName; mExtra = extra; mExtras = extras; mEnabled = enabled; mInstance = new CommandButton(this); } Loading @@ -1170,8 +1160,8 @@ public class MediaSession2Impl implements MediaSession2Provider { } @Override public @Nullable Bundle getExtra_impl() { return mExtra; public @Nullable Bundle getExtras_impl() { return mExtras; } @Override Loading @@ -1184,7 +1174,7 @@ public class MediaSession2Impl implements MediaSession2Provider { bundle.putBundle(KEY_COMMAND, mCommand.toBundle()); bundle.putInt(KEY_ICON_RES_ID, mIconResId); bundle.putString(KEY_DISPLAY_NAME, mDisplayName); bundle.putBundle(KEY_EXTRA, mExtra); bundle.putBundle(KEY_EXTRAS, mExtras); bundle.putBoolean(KEY_ENABLED, mEnabled); return bundle; } Loading @@ -1197,7 +1187,7 @@ public class MediaSession2Impl implements MediaSession2Provider { builder.setCommand(Command.fromBundle(context, bundle.getBundle(KEY_COMMAND))); builder.setIconResId(bundle.getInt(KEY_ICON_RES_ID, 0)); builder.setDisplayName(bundle.getString(KEY_DISPLAY_NAME)); builder.setExtra(bundle.getBundle(KEY_EXTRA)); builder.setExtras(bundle.getBundle(KEY_EXTRAS)); builder.setEnabled(bundle.getBoolean(KEY_ENABLED)); try { return builder.build(); Loading @@ -1216,7 +1206,7 @@ public class MediaSession2Impl implements MediaSession2Provider { private Command mCommand; private int mIconResId; private String mDisplayName; private Bundle mExtra; private Bundle mExtras; private boolean mEnabled; public BuilderImpl(Context context, CommandButton.Builder instance) { Loading Loading @@ -1250,8 +1240,8 @@ public class MediaSession2Impl implements MediaSession2Provider { } @Override public CommandButton.Builder setExtra_impl(Bundle extra) { mExtra = extra; public CommandButton.Builder setExtras_impl(Bundle extras) { mExtras = extras; return mInstance; } Loading @@ -1267,7 +1257,7 @@ public class MediaSession2Impl implements MediaSession2Provider { + " and name to display"); } return new CommandButtonImpl( mContext, mCommand, mIconResId, mDisplayName, mExtra, mEnabled).mInstance; mContext, mCommand, mIconResId, mDisplayName, mExtras, mEnabled).mInstance; } } } Loading @@ -1275,7 +1265,7 @@ public class MediaSession2Impl implements MediaSession2Provider { public static abstract class BuilderBaseImpl<T extends MediaSession2, C extends SessionCallback> implements BuilderBaseProvider<T, C> { final Context mContext; final MediaPlayerBase mPlayer; MediaPlayerBase mPlayer; String mId; Executor mCallbackExecutor; C mCallback; Loading @@ -1291,17 +1281,23 @@ public class MediaSession2Impl implements MediaSession2Provider { * {@link MediaSession2} or {@link MediaController2}. */ // TODO(jaewan): Also need executor public BuilderBaseImpl(Context context, MediaPlayerBase player) { public BuilderBaseImpl(Context context) { if (context == null) { throw new IllegalArgumentException("context shouldn't be null"); } mContext = context; // Ensure non-null mId = ""; } public void setPlayer_impl(MediaPlayerBase player, MediaPlaylistController mplc, VolumeProvider2 volumeProvider) { // TODO: Use MediaPlaylistController if (player == null) { throw new IllegalArgumentException("player shouldn't be null"); } mContext = context; mPlayer = player; // Ensure non-null mId = ""; mVolumeProvider = volumeProvider; } public void setVolumeProvider_impl(VolumeProvider2 volumeProvider) { Loading Loading @@ -1334,8 +1330,8 @@ public class MediaSession2Impl implements MediaSession2Provider { } public static class BuilderImpl extends BuilderBaseImpl<MediaSession2, SessionCallback> { public BuilderImpl(Context context, Builder instance, MediaPlayerBase player) { super(context, player); public BuilderImpl(Context context, Builder instance) { super(context); } @Override Loading
packages/MediaComponents/src/com/android/media/MediaSession2Stub.java +1 −1 Original line number Diff line number Diff line Loading @@ -356,7 +356,7 @@ public class MediaSession2Stub extends IMediaSession2.Stub { case MediaSession2.COMMAND_CODE_PLAYBACK_SEEK_TO: session.getInstance().seekTo(args.getLong(ARGUMENT_KEY_POSITION)); break; case MediaSession2.COMMAND_CODE_PLAYBACK_SET_CURRENT_PLAYLIST_ITEM: case MediaSession2.COMMAND_CODE_PLAYBACK_SKIP_TO_PLAYLIST_ITEM: // TODO(jaewan): Implement /* session.getInstance().skipToPlaylistItem( Loading
packages/MediaComponents/src/com/android/media/update/ApiFactory.java +5 −5 Original line number Diff line number Diff line Loading @@ -162,8 +162,8 @@ public class ApiFactory implements StaticProvider { } public BuilderBaseProvider<MediaSession2, SessionCallback> createMediaSession2Builder( Context context, MediaSession2.Builder instance, MediaPlayerBase player) { return new MediaSession2Impl.BuilderImpl(context, instance, player); Context context, MediaSession2.Builder instance) { return new MediaSession2Impl.BuilderImpl(context, instance); } @Override Loading @@ -188,9 +188,9 @@ public class ApiFactory implements StaticProvider { @Override public BuilderBaseProvider<MediaLibrarySession, MediaLibrarySessionCallback> createMediaLibraryService2Builder(MediaLibraryService2 service, MediaLibrarySession.Builder instance, MediaPlayerBase player, Executor callbackExecutor, MediaLibrarySessionCallback callback) { return new MediaLibraryService2Impl.BuilderImpl(service, instance, player, callbackExecutor, MediaLibrarySession.Builder instance, Executor callbackExecutor, MediaLibrarySessionCallback callback) { return new MediaLibraryService2Impl.BuilderImpl(service, instance, callbackExecutor, callback); } Loading