Merge "MediaBrowser: Copy options before calling subscribeInternal()" into nyc-dev
This commit is contained in:
@@ -365,7 +365,7 @@ public final class MediaBrowser {
|
|||||||
if (options == null) {
|
if (options == null) {
|
||||||
throw new IllegalArgumentException("options are null");
|
throw new IllegalArgumentException("options are null");
|
||||||
}
|
}
|
||||||
subscribeInternal(parentId, options, callback);
|
subscribeInternal(parentId, new Bundle(options), callback);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -1116,7 +1116,7 @@ public final class MediaBrowser {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
mCallbacks.add(callback);
|
mCallbacks.add(callback);
|
||||||
mOptionsList.add(options == null ? null : new Bundle(options));
|
mOptionsList.add(options);
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean removeCallback(Bundle options) {
|
public boolean removeCallback(Bundle options) {
|
||||||
|
|||||||
Reference in New Issue
Block a user