Rename PROPERTY_WORK_CALL to PROPERTY_ENTERPRISE_CALL based on API review
TODO: After updating all places that use the SDK, remove/hide the old API
Bug: 28842878
Change-Id: I131be644439080dd0507cd10d8bd6618246ee7ad
diff --git a/telecomm/java/android/telecom/Call.java b/telecomm/java/android/telecom/Call.java
index 39a1207..43f8739 100644
--- a/telecomm/java/android/telecom/Call.java
+++ b/telecomm/java/android/telecom/Call.java
@@ -287,11 +287,16 @@
public static final int PROPERTY_HIGH_DEF_AUDIO = 0x00000010;
/**
- * Whether the call is associated with the work profile.
+ * @deprecated Use {@link #PROPERTY_ENTERPRISE_CALL} instead.
*/
public static final int PROPERTY_WORK_CALL = 0x00000020;
/**
+ * Whether the call is associated with the work profile.
+ */
+ public static final int PROPERTY_ENTERPRISE_CALL = 0x00000020;
+
+ /**
* When set, indicates that this {@code Call} does not actually exist locally for the
* {@link ConnectionService}.
* <p>