Your custom Activity extends the type Activity. The onStop()
method is part of the super class activity. If you don't call super.onStop()
the implementation on the Activity class is never called, and only your implementation is. This implies crashes since the onStop()
method in the Activity classperforms clean ups that must be called.
The android reference on onStop()
: http://developer.android.com/reference/android/app/Activity.html#onStop()