Remove raster graphics and probably broken

No clue if the search provider works and I don't care
This commit is contained in:
Andrew Rabert 2019-08-24 22:29:38 -04:00
parent 63fc23d9fb
commit 5144f82051
9 changed files with 0 additions and 25 deletions

View File

@ -139,30 +139,6 @@ public class AudinautSearchProvider extends ContentProvider {
cursor.addRow(new Object[]{artist.getId().hashCode(), artist.getName(), null, "ar-" + artist.getId(), artist.getName(), icon});
} else {
MusicDirectory.Entry entry = (MusicDirectory.Entry) obj;
if (entry.isDirectory()) {
String icon = RESOURCE_PREFIX + R.drawable.ic_action_album;
cursor.addRow(new Object[]{entry.getId().hashCode(), entry.getTitle(), entry.getArtist(), entry.getId(), entry.getTitle(), icon});
} else {
String icon = RESOURCE_PREFIX + R.drawable.ic_action_song;
String id;
id = entry.getAlbumId();
String artistDisplay;
if (entry.getArtist() == null) {
if (entry.getAlbum() != null) {
artistDisplay = entry.getAlbumDisplay();
} else {
artistDisplay = "";
}
} else if (entry.getAlbum() != null) {
artistDisplay = entry.getArtist() + " - " + entry.getAlbumDisplay();
} else {
artistDisplay = entry.getArtist();
}
cursor.addRow(new Object[]{entry.getId().hashCode(), entry.getTitle(), artistDisplay, "so-" + id, entry.getTitle(), icon});
}
}
}
return cursor;

Binary file not shown.

Before

Width:  |  Height:  |  Size: 407 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 284 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 747 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 586 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 KiB

View File

@ -25,7 +25,6 @@
android:layout_marginBottom="4dp"
android:layout_marginLeft="20dp"
android:layout_marginRight="12dp"
android:background="@drawable/ic_number_border"
android:focusable="false"
android:gravity="right|center_vertical"
android:paddingRight="10dp"