Пример #1
0
 @Override
 protected void onDestroy() {
   super.onDestroy();
   if (mCursor != null && !mCursor.isClosed()) {
     mCursor.close();
   }
 }
Пример #2
0
 @Override
 protected void onDestroy() {
   if (mPickFriendsFragment != null) {
     mPickFriendsFragment.clearAddress();
   }
   AddressPadMini.unregisterNoteActionListener(getClass().getName());
   super.onDestroy();
 }