修改电源键的点击事件为:仅息屏,其他状态不变,系统依然认为是开屏状态,若要亮屏,再点击一次电源键即可,而表面上电源键的功能并没啥变化
Modify the click event of the power button as follows: only the screen is off, and other states remain unchanged. The system still considers the screen to be on. To turn on the screen, click the power button again. On the surface, the function of the power button does not change.
me.neversleep.plusplus
Release Type: Stable
12/13/2023, 12:42:41 PM
之前的源码丢了,这次是重构的,不知道签名还对不对,这次更新主要修复Android14 无法使用问题,不过本人由于买不起手机,暂无法测试,emmm,若是有人测试了可以帮忙在Discussions里告知一下是否修复了
The previous source code was lost, and this is a refactored version. I'm not sure if the signature is correct. This update mainly fixes the issue of Android 14 not being able to use it. However, I can't test it myself as I can't afford a phone at the moment. If someone else tests it, please help inform us in the discussions whether the issue has been fixed or not.