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

Commit b0ed9bd7 authored by Sarah Chin's avatar Sarah Chin Committed by Automerger Merge Worker
Browse files

Expose SignalStrength copy constructor am: 34cb6f99

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1480896

Change-Id: I631ab54d9959abd8af52d76f9796c25f14a901d9
parents 4319ed36 34cb6f99
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -9880,6 +9880,10 @@ package android.telephony {
    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 {
    ctor public SmsCbCmasInfo(int, int, int, int, int, int);
    method public int describeContents();
+3 −2
Original line number Diff line number Diff line
@@ -18,6 +18,7 @@ package android.telephony;

import android.annotation.ElapsedRealtimeLong;
import android.annotation.NonNull;
import android.annotation.SystemApi;
import android.compat.annotation.UnsupportedAppUsage;
import android.os.Build;
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
     *
     * @hide
     */
    @SystemApi
    public SignalStrength(@NonNull SignalStrength s) {
        copyFrom(s);
    }