diff options
Diffstat (limited to 'java/com/android/incallui/incall/impl')
-rw-r--r-- | java/com/android/incallui/incall/impl/InCallFragment.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/java/com/android/incallui/incall/impl/InCallFragment.java b/java/com/android/incallui/incall/impl/InCallFragment.java index e102ee009..54d01e716 100644 --- a/java/com/android/incallui/incall/impl/InCallFragment.java +++ b/java/com/android/incallui/incall/impl/InCallFragment.java @@ -41,6 +41,8 @@ import android.widget.Toast; import com.android.dialer.common.Assert; import com.android.dialer.common.FragmentUtils; import com.android.dialer.common.LogUtil; +import com.android.dialer.logging.DialerImpression; +import com.android.dialer.logging.Logger; import com.android.dialer.multimedia.MultimediaData; import com.android.dialer.widget.LockableViewPager; import com.android.incallui.audioroute.AudioRouteSelectorDialogFragment; @@ -385,6 +387,10 @@ public class InCallFragment extends Fragment show); if (isSupportedButton(buttonId)) { getButtonController(buttonId).setAllowed(show); + if (buttonId == InCallButtonIds.BUTTON_UPGRADE_TO_VIDEO && show) { + Logger.get(getContext()) + .logImpression(DialerImpression.Type.UPGRADE_TO_VIDEO_CALL_BUTTON_SHOWN); + } } } |