only use TextUtils.equals (fixes more crashes)
This commit is contained in:
parent
797e1a105d
commit
ad2de3a828
|
@ -83,9 +83,12 @@ public class PlaylistRemoteEntity implements PlaylistLocalItem {
|
||||||
* (False if info changed such as playlist name or track count)
|
* (False if info changed such as playlist name or track count)
|
||||||
*/
|
*/
|
||||||
//boolean returnMe = true;
|
//boolean returnMe = true;
|
||||||
return getServiceId() == info.getServiceId() && getName().equals(info.getName()) &&
|
return getServiceId() == info.getServiceId()
|
||||||
getStreamCount() == info.getStreamCount() && getUrl().equals(info.getUrl()) &&
|
&& getStreamCount() == info.getStreamCount()
|
||||||
getThumbnailUrl().equals(info.getThumbnailUrl()) && TextUtils.equals(getUploader(), info.getUploaderName());
|
&& TextUtils.equals(getName(), info.getName())
|
||||||
|
&& TextUtils.equals(getUrl(), info.getUrl())
|
||||||
|
&& TextUtils.equals(getThumbnailUrl(), info.getThumbnailUrl())
|
||||||
|
&& TextUtils.equals(getUploader(), info.getUploaderName());
|
||||||
//if (DEBUG) Log.d(TAG, TAG+"() called with result: returnMe = "+returnMe);
|
//if (DEBUG) Log.d(TAG, TAG+"() called with result: returnMe = "+returnMe);
|
||||||
//return returnMe;
|
//return returnMe;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue