diff options
author | Tony Mak <tonymak@google.com> | 2016-05-20 16:01:05 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2016-05-20 16:01:05 +0000 |
commit | 9791fa1807adc93e62dd7475002edb31ff3de408 (patch) | |
tree | bb430aadbeb98f36cdf8b5f396c09ad100056cde /InCallUI/src/com/android/incallui/StatusBarNotifier.java | |
parent | b15db3f15c45bb9018667ce0c679da1329743d8c (diff) | |
parent | f75eb1ac9c28f1777ac375666b731d08630dbf1d (diff) |
Rename PROPERTY_WORK_CALL to PROPERTY_ENTERPRISE_CALL based on API review
am: f75eb1ac9c
* commit 'f75eb1ac9c28f1777ac375666b731d08630dbf1d':
Rename PROPERTY_WORK_CALL to PROPERTY_ENTERPRISE_CALL based on API review
Change-Id: I5ad7d6c4ea3eeac5b829beb1c984d25abdb059c2
Diffstat (limited to 'InCallUI/src/com/android/incallui/StatusBarNotifier.java')
-rw-r--r-- | InCallUI/src/com/android/incallui/StatusBarNotifier.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/InCallUI/src/com/android/incallui/StatusBarNotifier.java b/InCallUI/src/com/android/incallui/StatusBarNotifier.java index a61620317..0662cca8d 100644 --- a/InCallUI/src/com/android/incallui/StatusBarNotifier.java +++ b/InCallUI/src/com/android/incallui/StatusBarNotifier.java @@ -16,7 +16,7 @@ package com.android.incallui; -import static com.android.contacts.common.compat.CallSdkCompat.Details.PROPERTY_WORK_CALL; +import static com.android.contacts.common.compat.CallSdkCompat.Details.PROPERTY_ENTERPRISE_CALL; import static com.android.incallui.NotificationBroadcastReceiver.ACTION_ACCEPT_VIDEO_UPGRADE_REQUEST; import static com.android.incallui.NotificationBroadcastReceiver.ACTION_ANSWER_VIDEO_INCOMING_CALL; import static com.android.incallui.NotificationBroadcastReceiver.ACTION_ANSWER_VOICE_INCOMING_CALL; @@ -537,7 +537,7 @@ public class StatusBarNotifier implements InCallPresenter.InCallStateListener, } // Is the call placed through work connection service. - boolean isWorkCall = call.hasProperty(PROPERTY_WORK_CALL); + boolean isWorkCall = call.hasProperty(PROPERTY_ENTERPRISE_CALL); if(userType == ContactsUtils.USER_TYPE_WORK || isWorkCall) { resId = getWorkStringFromPersonalString(resId); } |