Fix bluetooth sharing and slightly improved the tag editors appearance.
This commit is contained in:
parent
8869f4aeb2
commit
ab02195ed0
5 changed files with 16 additions and 12 deletions
|
|
@ -47,7 +47,7 @@ public class MusicUtil {
|
|||
public static Intent createShareSongFileIntent(final Context context, int songId) {
|
||||
return new Intent()
|
||||
.setAction(Intent.ACTION_SEND)
|
||||
.putExtra(Intent.EXTRA_STREAM, Uri.parse(SongFilePathLoader.getSongFilePath(context, songId)))
|
||||
.putExtra(Intent.EXTRA_STREAM, Uri.parse("file://" + SongFilePathLoader.getSongFilePath(context, songId)))
|
||||
.setType("audio/*");
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -201,7 +201,7 @@ public final class PreferenceUtils {
|
|||
|
||||
public final String getArtistAlbumSortOrder() {
|
||||
return mPreferences.getString(ARTIST_ALBUM_SORT_ORDER,
|
||||
SortOrder.ArtistAlbumSortOrder.ALBUM_YEAR);
|
||||
SortOrder.ArtistAlbumSortOrder.ALBUM_YEAR_ASC);
|
||||
}
|
||||
|
||||
// public void setAlbumSortOrder(final String value) {
|
||||
|
|
|
|||
|
|
@ -151,6 +151,10 @@ public final class SortOrder {
|
|||
/* Artist album sort order year */
|
||||
String ALBUM_YEAR = MediaStore.Audio.Artists.Albums.FIRST_YEAR
|
||||
+ " DESC";
|
||||
|
||||
/* Artist album sort order year */
|
||||
String ALBUM_YEAR_ASC = MediaStore.Audio.Artists.Albums.FIRST_YEAR
|
||||
+ " ASC";
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue