Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6ecef152 authored by sadiqsada's avatar sadiqsada
Browse files

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
parent dbe67576
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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();
+1 −1
Original line number Diff line number Diff line
@@ -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);
+1 −1
Original line number Diff line number Diff line
@@ -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;