Open gwicks56 opened 5 years ago
Sorry for late review @gwicks56 and thanks for submitting this.
If you're still interested in this pull request, please be aware that it requires a rebase and resolving conflicts before we can proceed.
I'd also recommend naming the setting something like "Auto-start on boot", I think "auto-start" is clearer than "restart", "restart" sounds like we're shutting down the daemon and starting it back up.
New code for the auto Daemon restart. It's now a checkbox in Settings -> Daemon Configuration -> Restart on Boot. If checked, upon phone startup the app will start, go to MainActivity, wait 30 seconds and toggle the Daemon switch to ON.
Adds RECEIVE_BOOT_COMPLETED permission.