From 251974976775dc0270b1284a9a800a298a45a83d Mon Sep 17 00:00:00 2001 From: gedoor Date: Mon, 3 May 2021 16:16:34 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/main/java/io/legado/app/base/BaseActivity.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/io/legado/app/base/BaseActivity.kt b/app/src/main/java/io/legado/app/base/BaseActivity.kt index e89e47642..4d2707444 100644 --- a/app/src/main/java/io/legado/app/base/BaseActivity.kt +++ b/app/src/main/java/io/legado/app/base/BaseActivity.kt @@ -74,6 +74,7 @@ abstract class BaseActivity( * 添加高刷新率支持 */ // 获取系统window支持的模式 + @Suppress("DEPRECATION") val modes = window.windowManager.defaultDisplay.supportedModes // 对获取的模式,基于刷新率的大小进行排序,从小到大排序 modes.sortBy {