Kill application after crash

I no longer manage all the errors in my application. So I would like to know if it is possible to kill the whole application when it works?

(when the message "application MyApp crash, force close" appears, I would like the application to be killed when the user clicks "force close")

+3
source share
1 answer

This is actually happening. If your application works with force, the entire application will be killed. So thereโ€™s nothing more to kill. All memory occupied by the application (packagename) is freed.

+8
source

Source: https://habr.com/ru/post/1763045/


All Articles