@Override public void onBackPressed() { if (Logging.DEBUG_LIFECYCLE && Email.DEBUG) { Log.d(Logging.LOG_TAG, this + " onBackPressed"); } if (!mUIController.onBackPressed(true)) { // Not handled by UIController -- perform the default. i.e. close the app. super.onBackPressed(); } }