Merge "Stop exposing constructor of TetheringConstants" am: 5dd58dac7e

Change-Id: Iac2677ca21a0dfcbb3afa40a32d824977e3aaa7e
This commit is contained in:
Automerger Merge Worker
2020-02-20 12:56:32 +00:00
3 changed files with 3 additions and 5 deletions

View File

@@ -30,7 +30,6 @@ package android.net {
}
public class TetheringConstants {
ctor public TetheringConstants();
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_REM_TETHER_TYPE = "extraRemTetherType";

View File

@@ -27,7 +27,3 @@ PrivateSuperclass: android.location.GnssAntennaInfo.PhaseCenterVariationCorrecti
Public class android.location.GnssAntennaInfo.PhaseCenterVariationCorrections extends private class android.location.GnssAntennaInfo.SphericalCorrections
PrivateSuperclass: android.location.GnssAntennaInfo.SignalGainCorrections:
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

View File

@@ -33,6 +33,9 @@ import android.os.ResultReceiver;
*/
@SystemApi(client = MODULE_LIBRARIES)
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
* enable if any.