JonasBernard / FakeStandby

An Android app for turning the screen off while keeping apps running.
https://fakestandby.jonasbernard.de
GNU General Public License v3.0
424 stars 27 forks source link

Turning white #31

Open rajarshikhatua100 opened 2 years ago

rajarshikhatua100 commented 2 years ago

When forcing dark mode from developer option the overlay of the screen (by fake standby) is turning white.

JonasBernard commented 2 years ago

I cannot reproduce it on my Samsung Phone. What Android Version are you running and on what device?

frasty commented 2 years ago

Same issue. On a realme 7 pro Android 11 with force dark mode enabled in developer options, fakestandby opens in full white.

JonasBernard commented 2 years ago

Okay thank you. I still cannot reproduce this but I think a switch to invert the color in the app could do the trick.

JonasBernard commented 2 years ago

The new version of the app includes a color invert switch. It should be on F-Droid in a few days. Let me know if it works.

rajarshikhatua100 commented 2 years ago

Thank, that would help

PeterKW commented 2 years ago

On my phone, even with the invert toggled, Android, in it's apparent 'genius', seems to make it go white anyway 😂

Unfortunately I think this may be a problem with Google's implementation that they're unlikely to fix?

Thanks for making this really useful application anyway @JonasBernard

Has anyone else experienced this similarly with the invert toggle?

https://github.com/KieronQuinn/DarQ/issues/73#issue-1428500506

KieronQuinn commented 2 years ago

@JonasBernard You probably need to call setForceDarkAllowed(false) from your View: https://developer.android.com/reference/android/view/View#setForceDarkAllowed(boolean)

JonasBernard commented 2 years ago

Thank you very much! Am 31. Okt. 2022, 02:22 +0100 schrieb Kieron Quinn @.***>:

@JonasBernard You probably need to call setForceDarkAllowed(false) from your View: https://developer.android.com/reference/android/view/View#setForceDarkAllowed(boolean) — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>

PeterKW commented 2 years ago

Thank you Kieron

S1MB10T1C commented 1 year ago

I'm still getting the bug, I have force dark mode enabled in developer settings, and dark-mode enabled on my system generally and the only way to get the screen to turn black is to turn off dark mode for the system, but then the phone isn't to my preferred settings. I even tried turning off force dark mode and it still shows white.

The only way to get it to work properly is to turn off dark mode for the system. The invert colors option doesn't seem to change anything- at least for android 13.