Add explicit protected keywords to fields in MediaControllerImplBase
The whole class is package-private, so this is a no-op, but it makes the intent of the visibililty more clear. PiperOrigin-RevId: 417377659
This commit is contained in:
parent
d159634b5e
commit
1c3cf6938e
@ -160,51 +160,33 @@ import org.checkerframework.checker.nullness.qual.NonNull;
|
|||||||
|
|
||||||
public static final String TAG = "MCImplBase";
|
public static final String TAG = "MCImplBase";
|
||||||
|
|
||||||
final MediaController instance;
|
protected final MediaController instance;
|
||||||
|
protected final SequencedFutureManager sequencedFutureManager;
|
||||||
|
protected final MediaControllerStub controllerStub;
|
||||||
|
|
||||||
private final Context context;
|
private final Context context;
|
||||||
|
|
||||||
private final SessionToken token;
|
private final SessionToken token;
|
||||||
|
|
||||||
private final IBinder.DeathRecipient deathRecipient;
|
private final IBinder.DeathRecipient deathRecipient;
|
||||||
final SequencedFutureManager sequencedFutureManager;
|
|
||||||
final MediaControllerStub controllerStub;
|
|
||||||
|
|
||||||
private final SurfaceCallback surfaceCallback;
|
private final SurfaceCallback surfaceCallback;
|
||||||
|
private final ListenerSet<Listener> listeners;
|
||||||
|
private final FlushCommandQueueHandler flushCommandQueueHandler;
|
||||||
|
|
||||||
@Nullable private SessionToken connectedToken;
|
@Nullable private SessionToken connectedToken;
|
||||||
|
|
||||||
@Nullable private SessionServiceConnection serviceConnection;
|
@Nullable private SessionServiceConnection serviceConnection;
|
||||||
|
|
||||||
private boolean released;
|
private boolean released;
|
||||||
|
|
||||||
private final ListenerSet<Listener> listeners;
|
|
||||||
|
|
||||||
private PlayerInfo playerInfo;
|
private PlayerInfo playerInfo;
|
||||||
|
|
||||||
@Nullable private PendingIntent sessionActivity;
|
@Nullable private PendingIntent sessionActivity;
|
||||||
|
|
||||||
private SessionCommands sessionCommands;
|
private SessionCommands sessionCommands;
|
||||||
|
|
||||||
private Commands playerCommandsFromSession;
|
private Commands playerCommandsFromSession;
|
||||||
|
|
||||||
private Commands playerCommandsFromPlayer;
|
private Commands playerCommandsFromPlayer;
|
||||||
|
|
||||||
private Commands intersectedPlayerCommands;
|
private Commands intersectedPlayerCommands;
|
||||||
|
|
||||||
@Nullable private Surface videoSurface;
|
@Nullable private Surface videoSurface;
|
||||||
|
|
||||||
@Nullable private SurfaceHolder videoSurfaceHolder;
|
@Nullable private SurfaceHolder videoSurfaceHolder;
|
||||||
|
|
||||||
@Nullable private TextureView videoTextureView;
|
@Nullable private TextureView videoTextureView;
|
||||||
|
|
||||||
private int surfaceWidth;
|
private int surfaceWidth;
|
||||||
private int surfaceHeight;
|
private int surfaceHeight;
|
||||||
|
|
||||||
@Nullable private IMediaSession iSession;
|
@Nullable private IMediaSession iSession;
|
||||||
|
|
||||||
private final FlushCommandQueueHandler flushCommandQueueHandler;
|
|
||||||
|
|
||||||
public MediaControllerImplBase(
|
public MediaControllerImplBase(
|
||||||
Context context, MediaController instance, SessionToken token, Bundle connectionHints) {
|
Context context, MediaController instance, SessionToken token, Bundle connectionHints) {
|
||||||
// Initialize default values.
|
// Initialize default values.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user