Parcourir la source

removed useless logs. Will wait for exoplayer 2.11.1 for fix

yattoz il y a 4 ans
Parent
révision
6fe9ac1d02
1 fichiers modifiés avec 0 ajouts et 11 suppressions
  1. 0 11
      app/src/main/java/fr/forum_thalie/tsumugi/RadioService.kt

+ 0 - 11
app/src/main/java/fr/forum_thalie/tsumugi/RadioService.kt Voir le fichier

@@ -36,7 +36,6 @@ import fr.forum_thalie.tsumugi.alarm.RadioAlarm
36 36
 import fr.forum_thalie.tsumugi.alarm.RadioSleeper
37 37
 import fr.forum_thalie.tsumugi.playerstore.PlayerStore
38 38
 import java.util.*
39
-import kotlin.collections.ArrayList
40 39
 import kotlin.math.exp
41 40
 import kotlin.math.ln
42 41
 import kotlin.system.exitProcess
@@ -362,16 +361,6 @@ class RadioService : MediaBrowserServiceCompat() {
362 361
                     Log.e(tag, radioTag + "onMetadata: Title ----> ${entry.title}")
363 362
                     // Note : Kotlin supports UTF-8 by default.
364 363
                     numberOfSongs++
365
-                    val s = entry.title!!
366
-                    val a = ArrayList<Int>()
367
-
368
-                    for (j in s.indices)
369
-                    {
370
-                        a.add(s[j].toInt())
371
-
372
-                    }
373
-                    Log.e(tag, a.toString())
374
-                    Log.e(tag, "raw: ${it}")
375 364
                     val data = entry.title!!
376 365
                     PlayerStore.instance.currentSong.setTitleArtist(data)
377 366
                 }