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

Restore brightness level when closing the Flashlight application #2038

Closed
wants to merge 1 commit into from

Conversation

JF002
Copy link
Collaborator

@JF002 JF002 commented Mar 14, 2024

The brightness level is stored when entering the app, and restored when closing it. Based on another fixed suggested by @serosi in #1907.

Fixes #1751.

The brightness level is stored when entering the app, and restored when closing it. Based on another fixed suggested by serosi.

Co-authored-by: serosi <[email protected]>
Copy link

Build size and comparison to main:

Section Size Difference
text 377544B 32B
data 940B 0B
bss 63540B 0B

@mark9064
Copy link
Member

This is fixed as part of the brightness refactors for AOD, but merging this now would be fine, no problem rebasing

@JF002
Copy link
Collaborator Author

JF002 commented Aug 18, 2024

Closing this PR since the original issue was fixed by #1869

@JF002 JF002 closed this Aug 18, 2024
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

Successfully merging this pull request may close these issues.

Brightness icon changes to flashlight's brightness when flashlight is closed by swipe
2 participants