8000 update to sdk 15 (android 15) by Furtif · Pull Request #25 · cedricp/ecutweaker · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

update to sdk 15 (android 15) #25

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

Merged
merged 4 commits into from
Jan 3, 2025
Merged

update to sdk 15 (android 15) #25

merged 4 commits into from
Jan 3, 2025

Conversation

Furtif
Copy link
Collaborator
@Furtif Furtif commented Jan 3, 2025
  • Reformat code
  • Update to last targetSdk android 15
  • Add screen not sleeping

Furtif added 4 commits January 3, 2025 14:25
- Added PowerManager.WakeLock to keep the screen on during the activity's lifecycle.
- Used `acquire()` to prevent the screen from going to sleep when the activity is active.
- Released the WakeLock in `onDestroy()` to ensure the device isn't kept awake unnecessarily when the activity is destroyed.
- Added `WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON` for additional screen wake prevention.
@Furtif Furtif merged commit cdbe559 into master Jan 3, 2025
1 check passed
@Furtif Furtif deleted the sdk_35 branch January 3, 2025 16:47
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.

1 participant
0