Deprecate SystemApi that was accidently made public in P

ImsFeature.Capabilities was accidently made public in P
due to a reference to it in another @SystemApi method.
Marking as @Deprecated in Q and then moving back to @hide
in R.

Bug: 115639348
Test: manual
Change-Id: Iab0d0c9227798b9f4e153d1c5a0a4e16353ee87c
This commit is contained in:
Brad Ebinger
2019-03-08 13:22:49 -08:00
parent 289759e0d2
commit 6898dae9fb
2 changed files with 3 additions and 2 deletions

View File

@@ -7450,8 +7450,8 @@ package android.telephony.ims.feature {
field public static final int STATE_UNAVAILABLE = 0; // 0x0
}
public static class ImsFeature.Capabilities {
field protected int mCapabilities;
@Deprecated public static class ImsFeature.Capabilities {
field @Deprecated protected int mCapabilities;
}
protected static class ImsFeature.CapabilityCallbackProxy {

View File

@@ -210,6 +210,7 @@ public abstract class ImsFeature {
/**
* Contains the capabilities defined and supported by an ImsFeature in the form of a bit mask.
* @hide
* @deprecated
*/
@SystemApi // SystemApi only because it was leaked through type usage in a previous release.
public static class Capabilities {