Kotlin refactoring
This commit is contained in:
parent
e9bd24872f
commit
4056a0c1c5
56 changed files with 317 additions and 308 deletions
|
@ -99,6 +99,7 @@ class EqualizerHelper private constructor() : EqualizerInterface {
|
|||
|
||||
companion object {
|
||||
private val TAG = "EqualizerHelper"
|
||||
|
||||
@Volatile
|
||||
private var ourInstance: EqualizerHelper? = null
|
||||
|
||||
|
|
|
@ -28,6 +28,7 @@ object SearchQueryHelper {
|
|||
private const val ARTIST_SELECTION = "lower(" + MediaStore.Audio.AudioColumns.ARTIST + ") = ?"
|
||||
private const val AND = " AND "
|
||||
var songs = ArrayList<Song>()
|
||||
|
||||
@JvmStatic
|
||||
fun getSongs(context: Context, extras: Bundle): ArrayList<Song> {
|
||||
val query = extras.getString(SearchManager.QUERY, null)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue