Properly set all data fields
So stale data doesn't stick around when the view is recycled Test: manual: - dismiss a notification - set a short timer (a custom view notif) - check history after timer expires (so there are 2 notifs in 'recently dismissed') - stop the timer and check history - there are now 3 notifs and no stale text in any of them Fixes: 192294011 Change-Id: I229a0388a703b9df0d92eec81066a9a2f67e183e
This commit is contained in:
@@ -65,9 +65,6 @@ public class NotificationSbnViewHolder extends RecyclerView.ViewHolder {
|
||||
}
|
||||
|
||||
void setTitle(CharSequence title) {
|
||||
if (title == null) {
|
||||
return;
|
||||
}
|
||||
mTitle.setText(title);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user