Exemplo n.º 1
0
 public static void postErrorEvent(int errorCode, ICommandListener listener) {
   if (listener != null) {
     try {
       listener.onError(errorCode);
     } catch (RemoteException e) {
       Timber.e(e, e.getMessage());
     }
   }
 }
Exemplo n.º 2
0
 public static void postSuccessEvent(ICommandListener listener) {
   if (listener != null) {
     try {
       listener.onSuccess();
     } catch (RemoteException e) {
       Timber.e(e, e.getMessage());
     }
   }
 }