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

termux-boot is not working on Xiaomi Redmi 7A on Android 10 #195

Conversation

AntonSamokat
Copy link

@AntonSamokat AntonSamokat commented Mar 3, 2024

This pull request is a fix for boot_completed is not working on Android 10

For details see:
https://stackoverflow.com/a/63250729/
https://www.reddit.com/r/tasker/comments/d7whyj/android_10_and_auto_starting_apps/
https://stackoverflow.com/q/64642362/
https://stackoverflow.com/a/19856267/

Related pull request for termux-app:
termux-app is not booted and not properly working in background on Android 10 (on Xiaomi Redmi 7A)
termux/termux-app#3870

@agnostic-apollo
Copy link
Member

SYSTEM_ALERT_WINDOW would be needed if a window needs to be brought up to foreground by an app in background. That is not needed by termux-boot at it does not do that and moreover only sends intent commands to termux-app for it to run shell commands.

FOREGROUND_SERVICE is not needed either because termux-boot does not have a foreground service.

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.

2 participants