Enable video telephony support. (4/4)

- Change "TelecomAccountRegistry" set the "CAPABILITY_VIDEO_CALLING"
capability on SIM phone accounts if the underlying phone supports video
calling.

Bug: 19062133
Change-Id: I50870fedf62813d3e725008236db8ad73c79a331
diff --git a/src/com/android/services/telephony/TelecomAccountRegistry.java b/src/com/android/services/telephony/TelecomAccountRegistry.java
index 1cb6442..799d844 100644
--- a/src/com/android/services/telephony/TelecomAccountRegistry.java
+++ b/src/com/android/services/telephony/TelecomAccountRegistry.java
@@ -146,6 +146,10 @@
                     PhoneAccount.CAPABILITY_PLACE_EMERGENCY_CALLS |
                     PhoneAccount.CAPABILITY_MULTI_USER;
 
+            if (mPhone.isVideoEnabled()) {
+                capabilities |= PhoneAccount.CAPABILITY_VIDEO_CALLING;
+            }
+
             if (iconBitmap == null) {
                 iconBitmap = BitmapFactory.decodeResource(
                         mContext.getResources(),