-
Notifications
You must be signed in to change notification settings - Fork 125
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[enhancement] 在安卓设备上游玩时保持屏幕常亮 #251
Comments
似乎Phira被安卓当成了应用而非游戏 |
理论上可以给窗口加上 |
I mean, doesn't music automatically turn off whenever your computer/device turns off? I guess it would be something that you could put as a "Tip" at the bottom. "Remember to always turn on no-sleep mode" or whatever. |
They doesn't mean music. It's more like "Lock screen automatically". About this setting, some latest Android phone can't disable it or set the time threshold to infinity. (Such as MIUI 13) Due to use cross-platform framework, that may have some technical difficulties I think. |
这里描述的是在安卓上的情况。你知道,手机上有一个屏幕超时的设置,当用户在设定的时间内,没有操控手机的时候,系统会将屏幕关闭。这时候Phira也就不能继续播放了。 我刚刚更新了一下标题和内容,特别提到了这是安卓设备上的情况,不过我不太确定在其他系统上是否也有这样的问题。 而且,我认为在手机上将屏幕超时修改为无限也不是应该做的,而更应该是应用告诉系统它是一个正在播放什么东西的程序,以使系统不会在超时之后关闭屏幕 |
通过ffi可以实现,应当不难 |
当你在安卓设备上游玩时,无论处于 Phira 的任何页面,屏幕都会随着系统设置的超时而关闭。不太确定这是错误还是说真的没有保持屏幕常亮的功能(毕竟咱也看不懂代码)。
能否添加一个设置,允许在游玩谱面的时候保持屏幕常亮?对于想要观赏某些谱面的人来说会很好。
这个设置可能有以下几种模式:禁用屏幕常亮、仅游玩谱面时、在应用内时。
使用的是安卓设备(如果有必要,请提醒我添加详细的设备信息)。
对于其他系统,我不知道是不是也有这样的问题,如果有,可能还需要一些调整。
The text was updated successfully, but these errors were encountered: