nightdream icon indicating copy to clipboard operation
nightdream copied to clipboard

Daydream / Screensaver starting is to slow

Open mastermichi opened this issue 5 years ago • 3 comments
trafficstars

Starting the app as Daydream / Screensaver is much to slow. Starting time should be improved.

mastermichi avatar Oct 31 '20 09:10 mastermichi

Why do we have a delay of 5000 in NightDreamService?

public void onDreamingStarted() {
    handler.postDelayed(startDelayed, 5000);
}

mastermichi avatar Nov 05 '20 07:11 mastermichi

The reason for this delay is that the screensaver is supposed to enable the screen lock. This happens only after 5s (tested on Android 9). If the delay is shortened the app prevents the screen to be locked.

firebirdberlin avatar Nov 06 '20 06:11 firebirdberlin

It seems to be a problem in the design of the app. It should be fixed in a future release.

mastermichi avatar Nov 06 '20 09:11 mastermichi