Merge "Stop exposing constructor of TetheringConstants"
This commit is contained in:
@@ -30,7 +30,6 @@ package android.net {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public class TetheringConstants {
|
public class TetheringConstants {
|
||||||
ctor public TetheringConstants();
|
|
||||||
field public static final String EXTRA_ADD_TETHER_TYPE = "extraAddTetherType";
|
field public static final String EXTRA_ADD_TETHER_TYPE = "extraAddTetherType";
|
||||||
field public static final String EXTRA_PROVISION_CALLBACK = "extraProvisionCallback";
|
field public static final String EXTRA_PROVISION_CALLBACK = "extraProvisionCallback";
|
||||||
field public static final String EXTRA_REM_TETHER_TYPE = "extraRemTetherType";
|
field public static final String EXTRA_REM_TETHER_TYPE = "extraRemTetherType";
|
||||||
|
|||||||
@@ -27,7 +27,3 @@ PrivateSuperclass: android.location.GnssAntennaInfo.PhaseCenterVariationCorrecti
|
|||||||
Public class android.location.GnssAntennaInfo.PhaseCenterVariationCorrections extends private class android.location.GnssAntennaInfo.SphericalCorrections
|
Public class android.location.GnssAntennaInfo.PhaseCenterVariationCorrections extends private class android.location.GnssAntennaInfo.SphericalCorrections
|
||||||
PrivateSuperclass: android.location.GnssAntennaInfo.SignalGainCorrections:
|
PrivateSuperclass: android.location.GnssAntennaInfo.SignalGainCorrections:
|
||||||
Public class android.location.GnssAntennaInfo.SignalGainCorrections extends private class android.location.GnssAntennaInfo.SphericalCorrections
|
Public class android.location.GnssAntennaInfo.SignalGainCorrections extends private class android.location.GnssAntennaInfo.SphericalCorrections
|
||||||
|
|
||||||
|
|
||||||
StaticUtils: android.net.TetheringConstants:
|
|
||||||
Fully-static utility classes must not have constructor
|
|
||||||
|
|||||||
@@ -33,6 +33,9 @@ import android.os.ResultReceiver;
|
|||||||
*/
|
*/
|
||||||
@SystemApi(client = MODULE_LIBRARIES)
|
@SystemApi(client = MODULE_LIBRARIES)
|
||||||
public class TetheringConstants {
|
public class TetheringConstants {
|
||||||
|
/** An explicit private class to avoid exposing constructor.*/
|
||||||
|
private TetheringConstants() { }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Extra used for communicating with the TetherService. Includes the type of tethering to
|
* Extra used for communicating with the TetherService. Includes the type of tethering to
|
||||||
* enable if any.
|
* enable if any.
|
||||||
|
|||||||
Reference in New Issue
Block a user