commit | ede8d9a0d55e7edbf80026538119b0bad88fba52 | [log] [tgz] |
---|---|---|
author | James Lemieux <jplemieux@google.com> | Thu Sep 18 12:31:48 2014 -0700 |
committer | James Lemieux <jplemieux@google.com> | Thu Sep 18 12:31:48 2014 -0700 |
tree | 5854e2d9e4e744cc15174bb41f22398b83ba6c8f | |
parent | de4fbccbe004dec24e21e5ff8b1d72702f29a36a [diff] |
Gmail crashes when switching to Promotion tab b/17534190 Recently, mHeader.styleNames usage changed. Before: A new ArrayList was built and assigned to this field on each pass through calculateTextsAndBitmaps. After: It was changed to build the ArrayList once and .clear() it on each pass. This bug was caused by an obsolete NULL check of mHeader.styleNames that would always be true post-change. Change-Id: I9b794a96093027a2eee7b7c38b0452d273184968