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

option to auto-restart #310

Open
alex-tee opened this issue Oct 27, 2021 · 1 comment
Open

option to auto-restart #310

alex-tee opened this issue Oct 27, 2021 · 1 comment

Comments

@alex-tee
Copy link

Is your feature request related to a problem? Please describe.

something is causing redmoon to exit. not sure if it crashes or my other apps temporarily use too much ram. I notice it happens when I have heavy apps running.

Describe the solution you'd like

Please add an option to auto-start red-moon so that if it dies it restarts itself with its previous settings

Describe alternatives you've considered

none, I just restart it manually and it's tedious

Additional context

@smichel17
Copy link
Member

I don't think this is possible, because I don't know of a way to detect that the app has crashed. I suppose I could set a repeating timer to start Red Moon every minute or so, which would have no effect if it's already running but would restart the filter if it were not running. However, this might have effects on battery life.

I'd rather figure out how to avoid the crashing in the first place. #329 might help with that, since Android gives higher priority to accessibility services (in other words, they are less likely to be killed to free up memory).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants