diff options
author | Qi Wang <wangqi@google.com> | 2017-11-06 19:28:24 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2017-11-06 19:28:24 +0000 |
commit | b519cd522d472b5d7980cc015aa37c101be99386 (patch) | |
tree | 5c33c66b04e939727fd37b9436b70bc443a440df /java/com/android/dialer/calllogutils/CallTypeIconsView.java | |
parent | 6eec20f5c5a56177f050b1490e2ba198748c0fd4 (diff) | |
parent | 008e6fd718d89fde2ca59249613a0534b2828504 (diff) |
Merge "Show HD icon in call logs."
Diffstat (limited to 'java/com/android/dialer/calllogutils/CallTypeIconsView.java')
-rw-r--r-- | java/com/android/dialer/calllogutils/CallTypeIconsView.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/java/com/android/dialer/calllogutils/CallTypeIconsView.java b/java/com/android/dialer/calllogutils/CallTypeIconsView.java index 58e4acfba..bf33faa33 100644 --- a/java/com/android/dialer/calllogutils/CallTypeIconsView.java +++ b/java/com/android/dialer/calllogutils/CallTypeIconsView.java @@ -24,6 +24,7 @@ import android.graphics.Canvas; import android.graphics.PorterDuff; import android.graphics.drawable.BitmapDrawable; import android.graphics.drawable.Drawable; +import android.support.annotation.VisibleForTesting; import android.util.AttributeSet; import android.view.View; import com.android.dialer.compat.AppCompatConstants; @@ -117,6 +118,11 @@ public class CallTypeIconsView extends View { } } + @VisibleForTesting + public boolean isHdShown() { + return mShowHd; + } + public void setShowWifi(boolean showWifi) { mShowWifi = showWifi; if (showWifi) { |