pull/1391/head
gedoor 3 years ago
parent 46f5a4d41a
commit 9e6ece9a39
  1. 2
      app/src/main/java/io/legado/app/base/BaseActivity.kt

@ -149,7 +149,7 @@ abstract class BaseActivity<VB : ViewBinding>(
window.decorView.background = BitmapDrawable(resources, it) window.decorView.background = BitmapDrawable(resources, it)
} }
} catch (e: OutOfMemoryError) { } catch (e: OutOfMemoryError) {
toastOnUi("背景太大,内存溢出") toastOnUi("背景图片太大,内存溢出")
} catch (e: Exception) { } catch (e: Exception) {
AppLog.put("加载背景出错\n${e.localizedMessage}", e) AppLog.put("加载背景出错\n${e.localizedMessage}", e)
} }

Loading…
Cancel
Save