Set internal state before setting up cast dependencies
Prevents access of fields before initialization. Also set remoteMediaClient in the constructor by using setRemoteMediaClient instead of assigning the field directly, which will (if possible) pull the state of the receiver in the constructor. PiperOrigin-RevId: 276660004
Showing
with
5 additions
and
5 deletions
Please
register
or
sign in
to comment