Decode notification logo in background thread. Set max bitmap size to 2048

This commit is contained in:
len
2016-10-16 15:02:55 +02:00
parent 69baaac27e
commit a31c6ff875
2 changed files with 5 additions and 5 deletions

View File

@@ -110,7 +110,7 @@ class ReaderActivity : BaseRxActivity<ReaderPresenter>() {
setMenuVisibility(menuVisible)
maxBitmapSize = GLUtil.getMaxTextureSize()
maxBitmapSize = Math.min(2048, GLUtil.getMaxTextureSize())
left_chapter.setOnClickListener {
if (viewer != null) {