commit | c328ded820cc0b228db2ae47ad467e6733f51bf9 | [log] [tgz] |
---|---|---|
author | Hall Liu <hallliu@google.com> | Wed Nov 13 17:27:57 2019 -0800 |
committer | Hall Liu <hallliu@google.com> | Thu Nov 14 17:11:04 2019 -0800 |
tree | fc405bab474624fb19a7eadf8152f72dfaff0959 | |
parent | fc9898a87115e8f8c191dbdd51fa124c34f49097 [diff] |
Remove incompatibility between VT and RTT Don't unset the video telephony capability on a PhoneAccount when it's also RTT capable -- the RTT capability is almost always on now for devices that support it. Bug: 144187006 Test: manual Change-Id: I2cc2117f1c57c78db1a3a3a1ddc82e7a2290d12b Merged-In: I2cc2117f1c57c78db1a3a3a1ddc82e7a2290d12b
diff --git a/src/com/android/services/telephony/TelecomAccountRegistry.java b/src/com/android/services/telephony/TelecomAccountRegistry.java index 8bf9d42..092e08b 100644 --- a/src/com/android/services/telephony/TelecomAccountRegistry.java +++ b/src/com/android/services/telephony/TelecomAccountRegistry.java
@@ -288,7 +288,7 @@ mIsRttCapable = false; } - mIsVideoCapable = mPhone.isVideoEnabled() && !mIsRttCapable; + mIsVideoCapable = mPhone.isVideoEnabled(); boolean isVideoEnabledByPlatform = ImsManager.getInstance(mPhone.getContext(), mPhone.getPhoneId()).isVtEnabledByPlatform();