Esempio n. 1
0
 @Override
 public void onDestroy() {
   if (LogUtils.isActive) {
     Log.d(LOGTAG, "onDestroy");
   }
   if (mGroupChat != null) {
     try {
       mGroupChat.setComposingStatus(false);
     } catch (RcsServiceException e) {
       Log.w(LOGTAG, ExceptionUtil.getFullStackTrace(e));
     }
   }
   super.onDestroy();
 }
Esempio n. 2
0
 @Override
 public void onDestroy() {
   if (LogUtils.isActive) {
     Log.d(LOGTAG, "onDestroy");
   }
   super.onDestroy();
   if (mFileTransferService != null && isServiceConnected(RcsServiceName.FILE_TRANSFER)) {
     // Remove file transfer listener
     try {
       mFileTransferService.removeEventListener(mFileTransferListener);
     } catch (RcsServiceException e) {
       Log.w(LOGTAG, ExceptionUtil.getFullStackTrace(e));
     }
   }
 }