mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 859434 - Close thumbnail cursor in TopSitesView r=lucasr
This commit is contained in:
parent
d5747ab42b
commit
70423dbebc
@ -605,11 +605,13 @@ public class TopSitesView extends GridView {
|
||||
}
|
||||
|
||||
final byte[] b = c.getBlob(c.getColumnIndexOrThrow(Thumbnails.DATA));
|
||||
Bitmap bitmap = null;
|
||||
if (b != null) {
|
||||
return BitmapFactory.decodeByteArray(b, 0, b.length);
|
||||
bitmap = BitmapFactory.decodeByteArray(b, 0, b.length);
|
||||
}
|
||||
c.close();
|
||||
|
||||
return null;
|
||||
return bitmap;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user