diff options
| author | 2019-06-24 19:03:48 +0000 | |
|---|---|---|
| committer | 2019-06-24 19:03:48 +0000 | |
| commit | fc202d1eb16afc55e38f15cc5ba3eea61fb83d81 (patch) | |
| tree | 24022d22c03abc932bbd98ae743cf3882cdcf976 | |
| parent | 093af798e47f0358ef7f565925fe4bf692d8ecc3 (diff) | |
| parent | 236546813780378abee6e8513a0f34bdb103b002 (diff) | |
Merge "Remove WTF logging for non-expandable swiped children" into qt-dev
| -rw-r--r-- | packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/NotificationSwipeHelper.java | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/NotificationSwipeHelper.java b/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/NotificationSwipeHelper.java index 8dd324b33287..4dfc343df283 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/NotificationSwipeHelper.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/NotificationSwipeHelper.java @@ -23,7 +23,6 @@ import android.content.Context; import android.graphics.Rect; import android.os.Handler; import android.service.notification.StatusBarNotification; -import android.util.Log; import android.view.MotionEvent; import android.view.View; @@ -313,8 +312,6 @@ class NotificationSwipeHelper extends SwipeHelper public void setTranslation(View v, float translate) { if (v instanceof ExpandableNotificationRow) { ((ExpandableNotificationRow) v).setTranslation(translate); - } else { - Log.wtf(TAG, "setTranslation should only be called on an ExpandableNotificationRow."); } } @@ -324,7 +321,6 @@ class NotificationSwipeHelper extends SwipeHelper return ((ExpandableNotificationRow) v).getTranslation(); } else { - Log.wtf(TAG, "getTranslation should only be called on an ExpandableNotificationRow."); return 0f; } } |