I have seen that people do not recommend using System.exit(0)
in Android (not java) to close an application over various forums including here at SO here
-- there's another component running in your process that the system is aware of. Calling exit() in this case would terminate the process, killing your other component and potentially corrupting your data. The OS could care less of course, but your users might not appreciate it. :-)
and here.
But at no place it is explained in detail that what could be repercussions of using it.
I am looking for a detailed explanation may be with an official reference (unfortunately I was not able to find one)