Closed AntonSamokat closed 5 months ago
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.
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) https://github.com/termux/termux-app/pull/3870