ars18
1
Features:
- Double tap on launcher to turn screen off
- Double tap on status bar (anywhere) to turn screen off
DTS-F21_PRO.zip (2.0 KB)
Please report any bugs.
The reason why there is a (slight) delay is because of the below. If anyone has any alternate ideas please let me know.
CURRENT=$(dumpsys window | grep mCurrentFocus)
if echo "$CURRENT" | grep -q com.android.launcher3; then
input keyevent 223
5 Likes
ars18
2
Just realized I could just keep it to status bar… It would be near instant like any other phone, but I’d feel like it’s missing something.
Can I ask when this comes to use? What’s wrong with the end button doing it?
ars18
4
First of all, it’s nice to have as a feature in general.
@ys770 mentioned it is good when on calls
2 Likes
I guess for when your on speaker, otherwise there’s a sensor that turns off the screen when it senses being near skin.
1 Like
That sensor is broken is there a way to fix it?
That i know but is there any module to incorporate it into the rom?
ars18
10
Boot script. I’ll probably add it to 6.1.3
If I use a different launcher than stock will it work?
ars18
12
Do they change the status bar?
The screen you get when swiping down from the top of the screen?
ars18
14
No, just the bar. Should be fine
I’m saying the launcher part won’t work, right?
ars18
18
Yes, in “more settings”.
If you updated the remote app from the ROM post.
1 Like