X-Git-Url: http://git.linex4red.de/pub/Android/ownCloud.git/blobdiff_plain/c1df34b5e38a671c7cd57aa223a5251812e84824..af45cabf35fd1f8fa48038930a0a59d0ad121037:/src/com/owncloud/android/services/OperationsService.java diff --git a/src/com/owncloud/android/services/OperationsService.java b/src/com/owncloud/android/services/OperationsService.java index 798c371d..a4de86a9 100644 --- a/src/com/owncloud/android/services/OperationsService.java +++ b/src/com/owncloud/android/services/OperationsService.java @@ -52,6 +52,7 @@ import android.os.IBinder; import android.os.Looper; import android.os.Message; import android.os.Process; +import android.util.Log; import android.util.Pair; public class OperationsService extends Service { @@ -148,21 +149,21 @@ public class OperationsService extends Service { */ @Override public int onStartCommand(Intent intent, int flags, int startId) { - //Log.wtf(TAG, "onStartCommand init" ); + Log.wtf(TAG, "onStartCommand init" ); Message msg = mServiceHandler.obtainMessage(); msg.arg1 = startId; mServiceHandler.sendMessage(msg); - //Log.wtf(TAG, "onStartCommand end" ); + Log.wtf(TAG, "onStartCommand end" ); return START_NOT_STICKY; } @Override public void onDestroy() { - //Log.wtf(TAG, "onDestroy init" ); + Log.wtf(TAG, "onDestroy init" ); super.onDestroy(); - //Log.wtf(TAG, "Clear mOperationResults" ); + Log.wtf(TAG, "Clear mOperationResults" ); mOperationResults.clear(); - //Log.wtf(TAG, "onDestroy end" ); + Log.wtf(TAG, "onDestroy end" ); } @@ -172,7 +173,7 @@ public class OperationsService extends Service { */ @Override public IBinder onBind(Intent intent) { - //Log.wtf(TAG, "onBind" ); + Log.wtf(TAG, "onBind" ); return mBinder; } @@ -348,7 +349,7 @@ public class OperationsService extends Service { } public RemoteOperationResult getOperationResultIfFinished(int operationId) { - //Log_OC.wtf(TAG, "Searching result for operation with id " + operationId); + Log_OC.wtf(TAG, "Searching result for operation with id " + operationId); return mOperationResults.remove(operationId); } @@ -384,7 +385,7 @@ public class OperationsService extends Service { */ private void nextOperation() { - //Log.wtf(TAG, "nextOperation init" ); + Log.wtf(TAG, "nextOperation init" ); Pair next = null; synchronized(mPendingOperations) {