Merge changes from topic "signalstrength_ctr"

* changes:
  Make SignalStrength constructor public
  Expose SignalStrength copy constructor
This commit is contained in:
Sarah Chin
2020-11-19 22:01:14 +00:00
committed by Gerrit Code Review
2 changed files with 2 additions and 3 deletions

View File

@@ -46095,6 +46095,7 @@ package android.telephony {
}
public class SignalStrength implements android.os.Parcelable {
ctor public SignalStrength(@NonNull android.telephony.SignalStrength);
method public int describeContents();
method @Deprecated public int getCdmaDbm();
method @Deprecated public int getCdmaEcio();

View File

@@ -287,11 +287,9 @@ public class SignalStrength implements Parcelable {
}
/**
* Copy constructors
* This constructor is used to create a copy of an existing SignalStrength object.
*
* @param s Source SignalStrength
*
* @hide
*/
public SignalStrength(@NonNull SignalStrength s) {
copyFrom(s);