Expose SignalStrength copy constructor
Test: atest SignalStrengthTest Bug: 171078601 Change-Id: I863f46dde78cf5e7ed9ed2f6bea149ab20daadbd Merged-In: I863f46dde78cf5e7ed9ed2f6bea149ab20daadbd
This commit is contained in:
@@ -9880,6 +9880,10 @@ package android.telephony {
|
|||||||
field public static final int ROAMING_TYPE_UNKNOWN = 1; // 0x1
|
field public static final int ROAMING_TYPE_UNKNOWN = 1; // 0x1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public class SignalStrength implements android.os.Parcelable {
|
||||||
|
ctor public SignalStrength(@NonNull android.telephony.SignalStrength);
|
||||||
|
}
|
||||||
|
|
||||||
public final class SmsCbCmasInfo implements android.os.Parcelable {
|
public final class SmsCbCmasInfo implements android.os.Parcelable {
|
||||||
ctor public SmsCbCmasInfo(int, int, int, int, int, int);
|
ctor public SmsCbCmasInfo(int, int, int, int, int, int);
|
||||||
method public int describeContents();
|
method public int describeContents();
|
||||||
|
|||||||
@@ -18,6 +18,7 @@ package android.telephony;
|
|||||||
|
|
||||||
import android.annotation.ElapsedRealtimeLong;
|
import android.annotation.ElapsedRealtimeLong;
|
||||||
import android.annotation.NonNull;
|
import android.annotation.NonNull;
|
||||||
|
import android.annotation.SystemApi;
|
||||||
import android.compat.annotation.UnsupportedAppUsage;
|
import android.compat.annotation.UnsupportedAppUsage;
|
||||||
import android.os.Build;
|
import android.os.Build;
|
||||||
import android.os.Bundle;
|
import android.os.Bundle;
|
||||||
@@ -287,12 +288,12 @@ public class SignalStrength implements Parcelable {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Copy constructors
|
* This constructor is used to create a copy of an existing SignalStrength object.
|
||||||
*
|
*
|
||||||
* @param s Source SignalStrength
|
* @param s Source SignalStrength
|
||||||
*
|
|
||||||
* @hide
|
* @hide
|
||||||
*/
|
*/
|
||||||
|
@SystemApi
|
||||||
public SignalStrength(@NonNull SignalStrength s) {
|
public SignalStrength(@NonNull SignalStrength s) {
|
||||||
copyFrom(s);
|
copyFrom(s);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user