Merge "Remove WTF logging for non-expandable swiped children" into qt-dev am: fc202d1eb1 am: 98b45f3f17

am: b769d6ef42

Change-Id: I8056a3cea5cef0f479dab70525b55e9d3da86f7d
This commit is contained in:
Ned Burns
2019-06-24 13:11:57 -07:00
committed by android-build-merger

View File

@@ -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;
}
}