Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

screen always on #102

Open
42loop opened this issue Apr 7, 2021 · 1 comment
Open

screen always on #102

42loop opened this issue Apr 7, 2021 · 1 comment

Comments

@42loop
Copy link

42loop commented Apr 7, 2021

screen always on option does not work while running scripts:

see AppRunnerActivity.java, line 108:
private boolean mSettingScreenAlwaysOn;
defaults to false,
never gets changed but line 203:
setScreenAlwaysOn(mSettingScreenAlwaysOn);

@victordiaz
Copy link
Owner

I think this line in your script should do the job. Let me know if it works for you.
device.screenAlwaysOn(true)

Better documentation is still a pending thing 😅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants