Skip to content

Commit

Permalink
Flip incorrect comparator operator in BITMAP_POOL_TARGET_SCREENS (#2334)
Browse files Browse the repository at this point in the history
  • Loading branch information
SUPERCILEX authored and sjudd committed Sep 5, 2017
1 parent f5d5403 commit fe5289d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ public static final class Builder {
* pool is much less important on O than it was on previous versions.
*/
static final int BITMAP_POOL_TARGET_SCREENS =
Build.VERSION.SDK_INT > Build.VERSION_CODES.O ? 4 : 1;
Build.VERSION.SDK_INT < Build.VERSION_CODES.O ? 4 : 1;

static final float MAX_SIZE_MULTIPLIER = 0.4f;
static final float LOW_MEMORY_MAX_SIZE_MULTIPLIER = 0.33f;
Expand Down

0 comments on commit fe5289d

Please sign in to comment.