Merge "Remove use of STATE_AUDIO_ONLY in a comparison." into mnc-dev
This commit is contained in:
@@ -331,7 +331,7 @@ public class ImsCallProfile implements Parcelable {
|
||||
videostate = VideoProfile.STATE_AUDIO_ONLY;
|
||||
break;
|
||||
}
|
||||
if (callProfile.isVideoPaused() && videostate != VideoProfile.STATE_AUDIO_ONLY) {
|
||||
if (callProfile.isVideoPaused() && !VideoProfile.isAudioOnly(videostate)) {
|
||||
videostate |= VideoProfile.STATE_PAUSED;
|
||||
} else {
|
||||
videostate &= ~VideoProfile.STATE_PAUSED;
|
||||
|
||||
Reference in New Issue
Block a user