Loading src/java/com/android/internal/telephony/imsphone/ImsPhoneCallTracker.java +4 −0 Original line number Diff line number Diff line Loading @@ -3461,6 +3461,10 @@ public class ImsPhoneCallTracker extends CallTracker implements ImsPullCall { } } public boolean isViLteDataMetered() { return mIsViLteDataMetered; } /** * Handler of data enabled changed event * @param enabled True if data is enabled, otherwise disabled. Loading src/java/com/android/internal/telephony/imsphone/ImsPhoneConnection.java +9 −4 Original line number Diff line number Diff line Loading @@ -952,6 +952,15 @@ public class ImsPhoneConnection extends Connection implements changed = true; } if (!mOwner.isViLteDataMetered()) { Rlog.v(LOG_TAG, "data is not metered"); } else { if (mImsVideoCallProviderWrapper != null) { mImsVideoCallProviderWrapper.setIsVideoEnabled( hasCapabilities(Connection.Capability.SUPPORTS_VT_LOCAL_BIDIRECTIONAL)); } } int newAudioQuality = getAudioQualityFromCallProfile(localCallProfile, remoteCallProfile); if (getAudioQuality() != newAudioQuality) { Loading Loading @@ -1324,9 +1333,5 @@ public class ImsPhoneConnection extends Connection implements Rlog.i(LOG_TAG, "handleDataEnabledChange: isDataEnabled=" + isDataEnabled + "; updating local video availability."); updateMediaCapabilities(getImsCall()); if (mImsVideoCallProviderWrapper != null) { mImsVideoCallProviderWrapper.setIsVideoEnabled( hasCapabilities(Connection.Capability.SUPPORTS_VT_LOCAL_BIDIRECTIONAL)); } } } Loading
src/java/com/android/internal/telephony/imsphone/ImsPhoneCallTracker.java +4 −0 Original line number Diff line number Diff line Loading @@ -3461,6 +3461,10 @@ public class ImsPhoneCallTracker extends CallTracker implements ImsPullCall { } } public boolean isViLteDataMetered() { return mIsViLteDataMetered; } /** * Handler of data enabled changed event * @param enabled True if data is enabled, otherwise disabled. Loading
src/java/com/android/internal/telephony/imsphone/ImsPhoneConnection.java +9 −4 Original line number Diff line number Diff line Loading @@ -952,6 +952,15 @@ public class ImsPhoneConnection extends Connection implements changed = true; } if (!mOwner.isViLteDataMetered()) { Rlog.v(LOG_TAG, "data is not metered"); } else { if (mImsVideoCallProviderWrapper != null) { mImsVideoCallProviderWrapper.setIsVideoEnabled( hasCapabilities(Connection.Capability.SUPPORTS_VT_LOCAL_BIDIRECTIONAL)); } } int newAudioQuality = getAudioQualityFromCallProfile(localCallProfile, remoteCallProfile); if (getAudioQuality() != newAudioQuality) { Loading Loading @@ -1324,9 +1333,5 @@ public class ImsPhoneConnection extends Connection implements Rlog.i(LOG_TAG, "handleDataEnabledChange: isDataEnabled=" + isDataEnabled + "; updating local video availability."); updateMediaCapabilities(getImsCall()); if (mImsVideoCallProviderWrapper != null) { mImsVideoCallProviderWrapper.setIsVideoEnabled( hasCapabilities(Connection.Capability.SUPPORTS_VT_LOCAL_BIDIRECTIONAL)); } } }