@Override protected void onDestroy() { super.onDestroy(); if (mCursor != null && !mCursor.isClosed()) { mCursor.close(); } }
@Override protected void onDestroy() { if (mPickFriendsFragment != null) { mPickFriendsFragment.clearAddress(); } AddressPadMini.unregisterNoteActionListener(getClass().getName()); super.onDestroy(); }