예제 #1
0
 private boolean checkActionIsPrepared() {
   if (WifiReceiver.getInstance().isConnected() && ServiceManager.getInstance().isDmcOpen()) {
     if (Thread.currentThread().getState() == State.WAITING) {
       return false;
     }
     return true;
   } else {
     return false;
   }
 }
예제 #2
0
 private ActionManager() {
   service = ServiceManager.getService();
   handlers = new HashMap<String, SyncHandler>();
 }