Remove /* package */ comment from public classes

Also make one class truly package-private and keep the comment instead.

This comment should only appear on elements with default (package-private) visibility.

PiperOrigin-RevId: 633911914
This commit is contained in:
ibaker 2024-05-15 05:20:42 -07:00 committed by Copybara-Service
parent ed4820cb61
commit c6f4ed0b66
4 changed files with 4 additions and 5 deletions

View File

@ -25,8 +25,7 @@ import androidx.media3.exoplayer.rtsp.RtpPayloadFormat;
/** Default {@link RtpPayloadReader.Factory} implementation. */ /** Default {@link RtpPayloadReader.Factory} implementation. */
@UnstableApi @UnstableApi
/* package */ public final class DefaultRtpPayloadReaderFactory public final class DefaultRtpPayloadReaderFactory implements RtpPayloadReader.Factory {
implements RtpPayloadReader.Factory {
@Override @Override
@Nullable @Nullable

View File

@ -32,7 +32,7 @@ import org.checkerframework.checker.nullness.qual.MonotonicNonNull;
/** Parses an AC3 byte stream carried on RTP packets, and extracts AC3 frames. */ /** Parses an AC3 byte stream carried on RTP packets, and extracts AC3 frames. */
@UnstableApi @UnstableApi
/* package */ public final class RtpAc3Reader implements RtpPayloadReader { public final class RtpAc3Reader implements RtpPayloadReader {
/** AC3 frame types defined in RFC4184 Section 4.1.1. */ /** AC3 frame types defined in RFC4184 Section 4.1.1. */
private static final int AC3_FRAME_TYPE_COMPLETE_FRAME = 0; private static final int AC3_FRAME_TYPE_COMPLETE_FRAME = 0;

View File

@ -25,7 +25,7 @@ import org.checkerframework.checker.nullness.qual.Nullable;
/** Extracts media samples from the payload of received RTP packets. */ /** Extracts media samples from the payload of received RTP packets. */
@UnstableApi @UnstableApi
/* package */ public interface RtpPayloadReader { public interface RtpPayloadReader {
/** Factory of {@link RtpPayloadReader} instances. */ /** Factory of {@link RtpPayloadReader} instances. */
interface Factory { interface Factory {

View File

@ -34,7 +34,7 @@ import org.checkerframework.checker.nullness.qual.MonotonicNonNull;
* details. * details.
*/ */
@UnstableApi @UnstableApi
/* package */ public final class RtpPcmReader implements RtpPayloadReader { public final class RtpPcmReader implements RtpPayloadReader {
private static final String TAG = "RtpPcmReader"; private static final String TAG = "RtpPcmReader";
private final RtpPayloadFormat payloadFormat; private final RtpPayloadFormat payloadFormat;