diff options
| author | Nivedita Sarkar <nsarkar@codeaurora.org> | 2015-11-23 13:01:12 -0800 |
|---|---|---|
| committer | doc HD <doc.divxm@gmail.com> | 2016-05-22 12:52:31 +0300 |
| commit | 8acd0161e87dd7a2abc2d977035099cb41d8589b (patch) | |
| tree | 91ae70554e36a93729e99ee4eddc390cd4949244 | |
| parent | 2d638ab56088bb37fde4ebac3b6fddd0295ef9c7 (diff) | |
IMS-VT: Unbundle capability consts for downgrade to voice from frameworks
- Unbundle InCallUI from dependency on frameworks
- Move capability constants for downgrade to voice
(local and remote) to QtiVideoCallConstants
- Use the above constants from QtiVideoCallConstants in InCallUI
Change-Id: If60d0dbd2670300d3acc4915f144afde7b8402d0
CRs-Fixed: 933812
| -rw-r--r-- | src/com/android/incallui/QtiCallUtils.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/com/android/incallui/QtiCallUtils.java b/src/com/android/incallui/QtiCallUtils.java index f2cda5a3..d7c4c168 100644 --- a/src/com/android/incallui/QtiCallUtils.java +++ b/src/com/android/incallui/QtiCallUtils.java @@ -306,8 +306,9 @@ public class QtiCallUtils { } public static boolean hasVoiceCapabilities(Call call) { - return call != null && call.can(Connection.CAPABILITY_SUPPORTS_DOWNGRADE_TO_VOICE_LOCAL) - && call.can(Connection.CAPABILITY_SUPPORTS_DOWNGRADE_TO_VOICE_REMOTE); + return call != null + && call.can(QtiVideoCallConstants.CAPABILITY_SUPPORTS_DOWNGRADE_TO_VOICE_LOCAL) + && call.can(QtiVideoCallConstants.CAPABILITY_SUPPORTS_DOWNGRADE_TO_VOICE_REMOTE); } public static boolean hasVideoCapabilities(Call call) { |
