Skip to content

Commit

Permalink
CacheManagingDrawTask: apply priority and check isfiltered before cac…
Browse files Browse the repository at this point in the history
…he building
  • Loading branch information
ctiao committed Sep 8, 2015
1 parent f79bd63 commit 769f9fa
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -453,6 +453,9 @@ public void handleMessage(Message msg) {
if (item.isTimeOut()) {
break;
}
if (item.priority == 0 && item.isFiltered()) {
break;
}
if (!item.hasDrawingCache()) {
buildCache(item);
}
Expand Down

0 comments on commit 769f9fa

Please sign in to comment.