use Long.valueOf
This commit is contained in:
1 parent
dd24247fea
commit
7339681907
1 file changed
+1
-1
@@ -85,7 +85,7 @@ public class Playlist {
|
||||
String name = null;
|
||||
final String[] projection = { MediaLibrary.PlaylistColumns.NAME };
|
||||
final String selection = MediaLibrary.PlaylistColumns._ID+"=?";
|
||||
final String[] selectionArgs = { new Long(id).toString() };
|
||||
final String[] selectionArgs = { Long.valueOf(id).toString() };
|
||||
Cursor cursor = MediaLibrary.queryLibrary(context, MediaLibrary.TABLE_PLAYLISTS, projection, selection, selectionArgs, null);
|
||||
|
||||
if (cursor != null) {
|
||||
|
||||
Reference in new issue
Block a user