Merge "Remove WTF logging for non-expandable swiped children" into qt-dev
am: fc202d1eb1
Change-Id: I70d8b517498729640b8a5bff3d5f5d76f2130be3
This commit is contained in:
@@ -23,7 +23,6 @@ import android.content.Context;
|
|||||||
import android.graphics.Rect;
|
import android.graphics.Rect;
|
||||||
import android.os.Handler;
|
import android.os.Handler;
|
||||||
import android.service.notification.StatusBarNotification;
|
import android.service.notification.StatusBarNotification;
|
||||||
import android.util.Log;
|
|
||||||
import android.view.MotionEvent;
|
import android.view.MotionEvent;
|
||||||
import android.view.View;
|
import android.view.View;
|
||||||
|
|
||||||
@@ -313,8 +312,6 @@ class NotificationSwipeHelper extends SwipeHelper
|
|||||||
public void setTranslation(View v, float translate) {
|
public void setTranslation(View v, float translate) {
|
||||||
if (v instanceof ExpandableNotificationRow) {
|
if (v instanceof ExpandableNotificationRow) {
|
||||||
((ExpandableNotificationRow) v).setTranslation(translate);
|
((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();
|
return ((ExpandableNotificationRow) v).getTranslation();
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
Log.wtf(TAG, "getTranslation should only be called on an ExpandableNotificationRow.");
|
|
||||||
return 0f;
|
return 0f;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user