Skip to content
This repository was archived by the owner on Jul 18, 2026. It is now read-only.

Commit 62d6239

Browse files
authored
Merge pull request #110 from misaka10032w/develop
[Fix] 修复亮度恢复行为异常
2 parents 4d8f0cc + 3e6a8c0 commit 62d6239

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

  • app/src/main/java/com/yenaly/han1meviewer/ui/view/video

app/src/main/java/com/yenaly/han1meviewer/ui/view/video/HJzvdStd.kt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -288,8 +288,7 @@ class HJzvdStd @JvmOverloads constructor(
288288
private val screenBrightnessBK = Settings.System.getInt(
289289
context.contentResolver,
290290
Settings.System.SCREEN_BRIGHTNESS
291-
).toFloat()
292-
291+
).toFloat()/255f
293292
/**
294293
* 長按快進檢測
295294
*/

0 commit comments

Comments
 (0)