forceclose - Why does Android sometimes force close and sometimes restart? -
i notice while developing android application, when uncaught exception thrown due bug in app, doesn't force close app, resets main activity.
what circumstances cause happen?
the exception occurs in specific activity, dies. focus returned activity 1 higher in app's activity stack.
if activity isn't affected cause of exception in dead activity, process normal.
Comments
Post a Comment