Update constructor method to be private
IptvFrontendSettings and IptvFrontendSettingsFec use the builder class to access the constructor method. The constructor method should not be public. Test: mmm . Bug: 266838516, 266838515 Change-Id: I27002984a64364580519005b2bf1dbaa234271e1
This commit is contained in:
@@ -8911,7 +8911,6 @@ package android.media.tv.tuner.frontend {
|
||||
}
|
||||
|
||||
public class IptvFrontendSettings extends android.media.tv.tuner.frontend.FrontendSettings {
|
||||
ctor public IptvFrontendSettings(@NonNull byte[], @NonNull byte[], int, int, @NonNull android.media.tv.tuner.frontend.IptvFrontendSettingsFec, int, int, long, @NonNull String);
|
||||
method @NonNull public static android.media.tv.tuner.frontend.IptvFrontendSettings.Builder builder();
|
||||
method @IntRange(from=0) public long getBitrate();
|
||||
method @NonNull public String getContentUrl();
|
||||
@@ -8946,7 +8945,6 @@ package android.media.tv.tuner.frontend {
|
||||
}
|
||||
|
||||
public class IptvFrontendSettingsFec {
|
||||
ctor public IptvFrontendSettingsFec(int, int, int);
|
||||
method @NonNull public static android.media.tv.tuner.frontend.IptvFrontendSettingsFec.Builder builder();
|
||||
method @IntRange(from=0) public int getFecColNum();
|
||||
method @IntRange(from=0) public int getFecRowNum();
|
||||
|
||||
@@ -92,7 +92,7 @@ public class IptvFrontendSettings extends FrontendSettings {
|
||||
private final long mBitrate;
|
||||
private final String mContentUrl;
|
||||
|
||||
public IptvFrontendSettings(@NonNull byte[] srcIpAddress, @NonNull byte[] dstIpAddress,
|
||||
private IptvFrontendSettings(@NonNull byte[] srcIpAddress, @NonNull byte[] dstIpAddress,
|
||||
int srcPort, int dstPort, @NonNull IptvFrontendSettingsFec fec, int protocol, int igmp,
|
||||
long bitrate, @NonNull String contentUrl) {
|
||||
super(0);
|
||||
|
||||
@@ -62,7 +62,7 @@ public class IptvFrontendSettingsFec {
|
||||
private final int mFecRowNum;
|
||||
private final int mFecColNum;
|
||||
|
||||
public IptvFrontendSettingsFec(@FecType int fecType, int fecRowNum, int fecColNum) {
|
||||
private IptvFrontendSettingsFec(@FecType int fecType, int fecRowNum, int fecColNum) {
|
||||
mFecType = fecType;
|
||||
mFecRowNum = fecRowNum;
|
||||
mFecColNum = fecColNum;
|
||||
|
||||
Reference in New Issue
Block a user