projects
/
pub
/
Android
/
ownCloud.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Reviewed integration with sychronization framework to fix problems in Android 4.4
[pub/Android/ownCloud.git]
/
src
/
com
/
owncloud
/
android
/
operations
/
RemoteOperation.java
diff --git
a/src/com/owncloud/android/operations/RemoteOperation.java
b/src/com/owncloud/android/operations/RemoteOperation.java
index
fbb93e6
..
6e674c4
100644
(file)
--- a/
src/com/owncloud/android/operations/RemoteOperation.java
+++ b/
src/com/owncloud/android/operations/RemoteOperation.java
@@
-137,14
+137,8
@@
public abstract class RemoteOperation implements Runnable {
mCallerActivity = callerActivity;
mClient = null; // the client instance will be created from mAccount and mContext in the runnerThread to create below
mCallerActivity = callerActivity;
mClient = null; // the client instance will be created from mAccount and mContext in the runnerThread to create below
- if (listener == null) {
- throw new IllegalArgumentException("Trying to execute a remote operation asynchronously without a listener to notiy the result");
- }
mListener = listener;
mListener = listener;
- if (listenerHandler == null) {
- throw new IllegalArgumentException("Trying to execute a remote operation asynchronously without a handler to the listener's thread");
- }
mListenerHandler = listenerHandler;
Thread runnerThread = new Thread(this);
mListenerHandler = listenerHandler;
Thread runnerThread = new Thread(this);