darkeyes84 / dark_tricks

46 stars 11 forks source link

Inconsistent screen unlock behavior #4

Closed HankAviator closed 3 years ago

HankAviator commented 3 years ago

Hello, recently I noticed Dark tricks is preventing my device from being woken up normally. DT2W and power button both fail to wake up the screen sometimes. When it happens, logcat gives

01-10 00:02:00.844  1746  2307 D WindowManager: powerPress: eventTime=620353 interactive=false count=1 beganFromNonInteractive=true mShortPressOnPowerBehavior=1
01-10 00:02:00.845  1746  2707 V InputDispatcher: Asynchronous input event injection succeeded.

despite I have turned off 'prevent accidental wake up' both in dark tricks, and in system settings. I have enabled 'hide vpn notifications' and 'hide build version' in dark tricks.

I've tried to uninstall, reinstall dark tricks, edxposed, riru, rebooting. This does not happen when i disable dark tricks. I guess it's most likely to be caused by 'prevent accidental wake up' in dark tricks.

Dark trick version: 2.11 System: LineageOS 17.1 (Android 10) Magisk: 21.2 Edxposed: 93-v0.5.1.3_4646 sandhook Riru: v23.1

Update: version 2.3 works well since 'check proximity before wake up' wasn't introduced yet.

HankAviator commented 3 years ago

2.3 hides alarm icon and in some cases may prevent alarm UI from showing, should have been fixed in later releases. Edit: alarm icon also doesn't appear on dark tricks 2.11 On 17.1-20210121-NIGHTLY-sagit

darkeyes84 commented 3 years ago

Update to the latest v2.12 and report back. I didn't fix your problem, but you should be able to disable proximity wake up properly now.