diff options
| author | 2019-11-06 18:18:35 -0800 | |
|---|---|---|
| committer | 2019-11-20 15:53:02 -0800 | |
| commit | 2105a42191846454bb2dcef736e517404de047ba (patch) | |
| tree | 877843d7f8cffebec1ef04b981def8deb5ee4803 | |
| parent | e993fb8bb9c670242ad6f1a49b52c0e3be2caaf3 (diff) | |
expose systemAPI for SmsCbLocation constructor
Bug: 135956699
Test: cts SmsCbLocationTest
Change-Id: I7b9c6fa453ee907aaa13d65e0b13de0556852313
(cherry picked from commit 8635f37b96f3c7bf940fa8ca3b305ca9a6ca935a)
Merged-in: I7b9c6fa453ee907aaa13d65e0b13de0556852313
| -rw-r--r-- | api/system-current.txt | 1 | ||||
| -rw-r--r-- | telephony/java/android/telephony/SmsCbLocation.java | 3 |
2 files changed, 2 insertions, 2 deletions
diff --git a/api/system-current.txt b/api/system-current.txt index a58cfd28f8ac..c734122f55ea 100644 --- a/api/system-current.txt +++ b/api/system-current.txt @@ -8121,6 +8121,7 @@ package android.telephony { } public final class SmsCbLocation implements android.os.Parcelable { + ctor public SmsCbLocation(@NonNull String, int, int); method public int describeContents(); method public int getCid(); method public int getLac(); diff --git a/telephony/java/android/telephony/SmsCbLocation.java b/telephony/java/android/telephony/SmsCbLocation.java index adf7154b4e07..d8a47545eb5d 100644 --- a/telephony/java/android/telephony/SmsCbLocation.java +++ b/telephony/java/android/telephony/SmsCbLocation.java @@ -65,9 +65,8 @@ public final class SmsCbLocation implements Parcelable { /** * Construct a location object for the PLMN, LAC, and Cell ID. This class is immutable, so * the same object can be reused for multiple broadcasts. - * @hide */ - public SmsCbLocation(String plmn, int lac, int cid) { + public SmsCbLocation(@NonNull String plmn, int lac, int cid) { mPlmn = plmn; mLac = lac; mCid = cid; |