summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorYorke Lee <yorkelee@google.com>2013-07-31 22:06:44 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2013-07-31 22:06:44 +0000
commiteafc8fb4088bf1803eb8cc4b4bfe311eb6e90b9c (patch)
treea7c7f172cac51afa14b7924ab77f190a4aea1f7c /src
parent0c94746842edd8e3fcc47f9eaa75a4a6512bac6d (diff)
parent55d3bb4a7f70d4a4359c31b3240f5740b788e643 (diff)
Merge "Add debug check to PhoneFavoritesTileAdapter.getView"
Diffstat (limited to 'src')
-rw-r--r--src/com/android/dialer/list/PhoneFavoritesTileAdapter.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/com/android/dialer/list/PhoneFavoritesTileAdapter.java b/src/com/android/dialer/list/PhoneFavoritesTileAdapter.java
index d14190ea6..ab42888e7 100644
--- a/src/com/android/dialer/list/PhoneFavoritesTileAdapter.java
+++ b/src/com/android/dialer/list/PhoneFavoritesTileAdapter.java
@@ -433,7 +433,9 @@ public class PhoneFavoritesTileAdapter extends BaseAdapter {
@Override
public View getView(int position, View convertView, ViewGroup parent) {
- Log.v(TAG, "get view for " + String.valueOf(position));
+ if (DEBUG) {
+ Log.v(TAG, "get view for " + String.valueOf(position));
+ }
int itemViewType = getItemViewType(position);
ContactTileRow contactTileRowView = (ContactTileRow) convertView;