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

setAppBrightness back to system brightness #141

Open
josephgcedeno opened this issue Nov 21, 2021 · 1 comment
Open

setAppBrightness back to system brightness #141

josephgcedeno opened this issue Nov 21, 2021 · 1 comment

Comments

@josephgcedeno
Copy link

Is there a way to somehow revert back to system brightness after using setAppBrightness without asking the user's permission?

@hegnn
Copy link

hegnn commented Jan 3, 2023

You should set to -1

SystemSetting.setAppBrightness(-1);

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