Add @UnsupportedAppUsage annotations
For packages:
android.telecom.Logging
android.telecom
This is an automatically generated CL. See go/UnsupportedAppUsage
for more details.
Exempted-From-Owner-Approval: Mechanical changes to the codebase
which have been approved by Android API council and announced on
android-eng@
Bug: 110868826
Test: m
Change-Id: I04a94d7555be608dc3958787554a3d33b72158ec
diff --git a/telecomm/java/android/telecom/ParcelableCall.java b/telecomm/java/android/telecom/ParcelableCall.java
index 6212a77..8b0211e 100644
--- a/telecomm/java/android/telecom/ParcelableCall.java
+++ b/telecomm/java/android/telecom/ParcelableCall.java
@@ -16,6 +16,7 @@
package android.telecom;
+import android.annotation.UnsupportedAppUsage;
import android.net.Uri;
import android.os.Bundle;
import android.os.Parcel;
@@ -117,6 +118,7 @@
}
/** The unique ID of the call. */
+ @UnsupportedAppUsage
public String getId() {
return mId;
}
@@ -130,6 +132,7 @@
* Reason for disconnection, as described by {@link android.telecomm.DisconnectCause}. Valid
* when call state is {@link CallState#DISCONNECTED}.
*/
+ @UnsupportedAppUsage
public DisconnectCause getDisconnectCause() {
return mDisconnectCause;
}
@@ -155,11 +158,13 @@
}
/** The time that the call switched to the active state. */
+ @UnsupportedAppUsage
public long getConnectTimeMillis() {
return mConnectTimeMillis;
}
/** The endpoint to which the call is connected. */
+ @UnsupportedAppUsage
public Uri getHandle() {
return mHandle;
}
@@ -300,6 +305,7 @@
}
/** Responsible for creating ParcelableCall objects for deserialized Parcels. */
+ @UnsupportedAppUsage
public static final Parcelable.Creator<ParcelableCall> CREATOR =
new Parcelable.Creator<ParcelableCall> () {
@Override