Closed
Bug 891098
Opened 12 years ago
Closed 12 years ago
Make the LoadThumbnailsTask static
Categories
(Firefox for Android Graveyard :: Theme and Visual Design, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 26
People
(Reporter: sriram, Assigned: sriram)
References
Details
(Whiteboard: fixed-fig)
Attachments
(1 file)
|
2.53 KB,
patch
|
bnicholson
:
review+
|
Details | Diff | Splinter Review |
LoadThumbnailsTask is accessing mTopBookmarks, that could be null when it gets detached from the window. This could cause an NPE. Make LoadThumbnailsTask to be independent of mTopBookmarks.
Comment 2•12 years ago
|
||
Comment on attachment 772311 [details] [diff] [review]
Patch
Review of attachment 772311 [details] [diff] [review]:
-----------------------------------------------------------------
::: mobile/android/base/home/BookmarksPage.java
@@ +328,5 @@
> }
>
> @Override
> public void onPostExecute(Map<String, Thumbnail> thumbnails) {
> + if (mView.getHandler() != null) {
Please add a comment about this check (perhaps copy the one from https://hg.mozilla.org/projects/fig/file/tip/mobile/android/base/animation/PropertyAnimator.java#l208).
Attachment #772311 -
Flags: review?(bnicholson) → review+
| Assignee | ||
Comment 3•12 years ago
|
||
Whiteboard: fixed-fig
Comment 4•12 years ago
|
||
Assignee: nobody → sriram
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 26
Updated•4 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•