diff --git a/app/src/main/java/fr/forum_thalie/tsumugi/Async.kt b/app/src/main/java/fr/forum_thalie/tsumugi/Async.kt index d2608a0..69a40b7 100644 --- a/app/src/main/java/fr/forum_thalie/tsumugi/Async.kt +++ b/app/src/main/java/fr/forum_thalie/tsumugi/Async.kt @@ -13,7 +13,7 @@ class Async(val handler: (Any?) -> Any?, val post: (Any?) -> Unit = {}, execute() } catch (e: Exception) { - //[REMOVE LOG CALLS]//[REMOVE LOG CALLS]Log.d(tag,e.toString()) + //[REMOVE LOG CALLS]//[REMOVE LOG CALLS]//[REMOVE LOG CALLS]Log.d(tag,e.toString()) } } @@ -46,14 +46,14 @@ class Async(val handler: (Any?) -> Any?, val post: (Any?) -> Unit = {}, } - //[REMOVE LOG CALLS]Log.d(tag, "fallback for no network. Store reset : $storeReset") + //[REMOVE LOG CALLS]//[REMOVE LOG CALLS]Log.d(tag, "fallback for no network. Store reset : $storeReset") } override fun doInBackground(vararg params: Any?): Any? { try { return handler(parameters) } catch (e: Exception) { - //[REMOVE LOG CALLS]Log.d(tag,e.toString()) + //[REMOVE LOG CALLS]//[REMOVE LOG CALLS]Log.d(tag,e.toString()) onException(e) } return null @@ -63,7 +63,7 @@ class Async(val handler: (Any?) -> Any?, val post: (Any?) -> Unit = {}, try { post(result) } catch (e: Exception) { - //[REMOVE LOG CALLS]Log.d(tag,e.toString()) + //[REMOVE LOG CALLS]//[REMOVE LOG CALLS]Log.d(tag,e.toString()) onException(e) } } diff --git a/app/src/main/java/fr/forum_thalie/tsumugi/BaseActivity.kt b/app/src/main/java/fr/forum_thalie/tsumugi/BaseActivity.kt index 08ea16f..be50d23 100644 --- a/app/src/main/java/fr/forum_thalie/tsumugi/BaseActivity.kt +++ b/app/src/main/java/fr/forum_thalie/tsumugi/BaseActivity.kt @@ -21,7 +21,7 @@ abstract class BaseActivity : AppCompatActivity() { val height = ((rootLayout?.height ?: 0)) val width = ((rootLayout?.width ?: 0)) - //[REMOVE LOG CALLS]Log.d(tag, "$viewWidth, $viewHeight, $width, $height, ${viewHeight.toDouble()/viewWidth.toDouble()}, ${height.toDouble()/width.toDouble()}") + //[REMOVE LOG CALLS]//[REMOVE LOG CALLS]Log.d(tag, "$viewWidth, $viewHeight, $width, $height, ${viewHeight.toDouble()/viewWidth.toDouble()}, ${height.toDouble()/width.toDouble()}") val broadcastManager = LocalBroadcastManager.getInstance(this@BaseActivity) if(height <= viewHeight * 2 / 3 /*height.toDouble()/width.toDouble() < 1.20 */){ @@ -49,14 +49,14 @@ abstract class BaseActivity : AppCompatActivity() { // do things when keyboard is shown val bottomNavigationView = findViewById(R.id.bottom_nav) bottomNavigationView.visibility = View.GONE - //[REMOVE LOG CALLS]Log.d(tag, "bottomNav visibility set to GONE (height $keyboardHeight)") + //[REMOVE LOG CALLS]//[REMOVE LOG CALLS]Log.d(tag, "bottomNav visibility set to GONE (height $keyboardHeight)") } private fun onHideKeyboard() { // do things when keyboard is hidden val bottomNavigationView = findViewById(R.id.bottom_nav) bottomNavigationView.visibility = View.VISIBLE - //[REMOVE LOG CALLS]Log.d(tag, "bottomNav visibility set to VISIBLE") + //[REMOVE LOG CALLS]//[REMOVE LOG CALLS]Log.d(tag, "bottomNav visibility set to VISIBLE") } protected fun attachKeyboardListeners() { diff --git a/app/src/main/java/fr/forum_thalie/tsumugi/BootBroadcastReceiver.kt b/app/src/main/java/fr/forum_thalie/tsumugi/BootBroadcastReceiver.kt index 9c27762..a7a3df7 100644 --- a/app/src/main/java/fr/forum_thalie/tsumugi/BootBroadcastReceiver.kt +++ b/app/src/main/java/fr/forum_thalie/tsumugi/BootBroadcastReceiver.kt @@ -12,7 +12,7 @@ import fr.forum_thalie.tsumugi.playerstore.PlayerStore class BootBroadcastReceiver : BroadcastReceiver(){ override fun onReceive(context: Context, arg1: Intent) { - //[REMOVE LOG CALLS]//[REMOVE LOG CALLS]Log.d(tag, "Broadcast Receiver received $arg1") + //[REMOVE LOG CALLS]//[REMOVE LOG CALLS]//[REMOVE LOG CALLS]Log.d(tag, "Broadcast Receiver received $arg1") // define preferenceStore for places of the program that needs to access Preferences without a context preferenceStore = PreferenceManager.getDefaultSharedPreferences(context) diff --git a/app/src/main/java/fr/forum_thalie/tsumugi/MainActivity.kt b/app/src/main/java/fr/forum_thalie/tsumugi/MainActivity.kt index 472585d..541d5d2 100644 --- a/app/src/main/java/fr/forum_thalie/tsumugi/MainActivity.kt +++ b/app/src/main/java/fr/forum_thalie/tsumugi/MainActivity.kt @@ -132,7 +132,7 @@ class MainActivity : BaseActivity() { // Post-UI Launch if (PlayerStore.instance.isInitialized) { - //[REMOVE LOG CALLS]Log.d(tag, "skipped initialization") + //[REMOVE LOG CALLS]//[REMOVE LOG CALLS]Log.d(tag, "skipped initialization") } else { // if the service is not started, start it in STOP mode. // It's not a dummy action : with STOP mode, the player does not buffer audio (and does not use data connection without the user's consent). @@ -193,7 +193,7 @@ class MainActivity : BaseActivity() { val i = Intent(this, RadioService::class.java) i.putExtra("action", a.name) i.putExtra("value", v) - //[REMOVE LOG CALLS]Log.d(tag, "Sending intent ${a.name}") + //[REMOVE LOG CALLS]//[REMOVE LOG CALLS]Log.d(tag, "Sending intent ${a.name}") startService(i) } @@ -238,7 +238,7 @@ class MainActivity : BaseActivity() { // File(getExternalFilesDir(Environment.DIRECTORY_DOCUMENTS) + "/MyPersonalAppFolder") val logDirectory = File("$appDirectory/log") val logFile = File(logDirectory, "logcat" + System.currentTimeMillis() + ".txt") - //[REMOVE LOG CALLS]Log.d( + //[REMOVE LOG CALLS]//[REMOVE LOG CALLS]Log.d( tag, "appDirectory : $appDirectory, logDirectory : $logDirectory, logFile : $logFile" ) @@ -246,20 +246,20 @@ class MainActivity : BaseActivity() { // create app folder if (!appDirectory.exists()) { appDirectory.mkdir() - //[REMOVE LOG CALLS]Log.d(tag, "$appDirectory created") + //[REMOVE LOG CALLS]//[REMOVE LOG CALLS]Log.d(tag, "$appDirectory created") } // create log folder if (!logDirectory.exists()) { logDirectory.mkdir() - //[REMOVE LOG CALLS]Log.d(tag, "$logDirectory created") + //[REMOVE LOG CALLS]//[REMOVE LOG CALLS]Log.d(tag, "$logDirectory created") } // clear the previous logcat and then write the new one to the file try { Runtime.getRuntime().exec("logcat -c") Runtime.getRuntime().exec("logcat -v time -f $logFile *:E $tag:V ") - //[REMOVE LOG CALLS]Log.d(tag, "logcat started") + //[REMOVE LOG CALLS]//[REMOVE LOG CALLS]Log.d(tag, "logcat started") } catch (e: IOException) { e.printStackTrace() } diff --git a/app/src/main/java/fr/forum_thalie/tsumugi/RadioService.kt b/app/src/main/java/fr/forum_thalie/tsumugi/RadioService.kt index 2daabff..75e0a31 100644 --- a/app/src/main/java/fr/forum_thalie/tsumugi/RadioService.kt +++ b/app/src/main/java/fr/forum_thalie/tsumugi/RadioService.kt @@ -68,14 +68,14 @@ class RadioService : MediaBrowserServiceCompat() { // This *should* work in any case... when (intent.getIntExtra("state", -1)) { 0 -> { - //[REMOVE LOG CALLS]Log.d(tag, radioTag + "Headset is unplugged") + //[REMOVE LOG CALLS]//[REMOVE LOG CALLS]Log.d(tag, radioTag + "Headset is unplugged") } 1 -> { - //[REMOVE LOG CALLS]Log.d(tag, radioTag + "Headset is plugged") + //[REMOVE LOG CALLS]//[REMOVE LOG CALLS]Log.d(tag, radioTag + "Headset is plugged") headsetPluggedIn = true } else -> { - //[REMOVE LOG CALLS]Log.d(tag, radioTag + "I have no idea what the headset state is") + //[REMOVE LOG CALLS]//[REMOVE LOG CALLS]Log.d(tag, radioTag + "I have no idea what the headset state is") } } /* @@ -91,7 +91,7 @@ class RadioService : MediaBrowserServiceCompat() { } else { - //[REMOVE LOG CALLS]Log.d(tag, radioTag + "Can't get state?") + //[REMOVE LOG CALLS]//[REMOVE LOG CALLS]Log.d(tag, radioTag + "Can't get state?") } */ @@ -205,7 +205,7 @@ class RadioService : MediaBrowserServiceCompat() { startForeground(radioServiceId, nowPlayingNotification.notification) PlayerStore.instance.isServiceStarted.value = true - //[REMOVE LOG CALLS]Log.d(tag, radioTag + "created") + //[REMOVE LOG CALLS]//[REMOVE LOG CALLS]Log.d(tag, radioTag + "created") } private val handler = Handler() @@ -246,7 +246,7 @@ class RadioService : MediaBrowserServiceCompat() { Actions.CANCEL_FADE_OUT.name -> { handler.removeCallbacks(lowerVolumeRunnable) } Actions.SNOOZE.name -> { RadioAlarm.instance.snooze(this) } } - //[REMOVE LOG CALLS]Log.d(tag, radioTag + "intent received : " + intent.getStringExtra("action")) + //[REMOVE LOG CALLS]//[REMOVE LOG CALLS]Log.d(tag, radioTag + "intent received : " + intent.getStringExtra("action")) super.onStartCommand(intent, flags, startId) // The service must be re-created if it is destroyed by the system. This allows the user to keep actions like Bluetooth and headphones plug available. return START_STICKY @@ -258,7 +258,7 @@ class RadioService : MediaBrowserServiceCompat() { stopSelf() } super.onTaskRemoved(rootIntent) - //[REMOVE LOG CALLS]Log.d(tag, radioTag + "task removed") + //[REMOVE LOG CALLS]//[REMOVE LOG CALLS]Log.d(tag, radioTag + "task removed") } override fun onDestroy() { @@ -290,7 +290,7 @@ class RadioService : MediaBrowserServiceCompat() { } apiTicker.cancel() // stops the timer. - //[REMOVE LOG CALLS]Log.d(tag, radioTag + "destroyed") + //[REMOVE LOG CALLS]//[REMOVE LOG CALLS]Log.d(tag, radioTag + "destroyed") // if the service is destroyed, the application had become useless. exitProcess(0) } @@ -361,10 +361,10 @@ class RadioService : MediaBrowserServiceCompat() { for (i in 0 until it.length()) { val entry = it.get(i) if (entry is IcyHeaders) { - //[REMOVE LOG CALLS]Log.d(tag, radioTag + "onMetadata: IcyHeaders $entry") + //[REMOVE LOG CALLS]//[REMOVE LOG CALLS]Log.d(tag, radioTag + "onMetadata: IcyHeaders $entry") } if (entry is IcyInfo) { - //[REMOVE LOG CALLS]Log.d(tag, radioTag + "onMetadata: Title ----> ${entry.title}") + //[REMOVE LOG CALLS]//[REMOVE LOG CALLS]Log.d(tag, radioTag + "onMetadata: Title ----> ${entry.title}") // Note : Kotlin supports UTF-8 by default. numberOfSongs++ val data = entry.title!! @@ -439,7 +439,7 @@ class RadioService : MediaBrowserServiceCompat() { { Thread.sleep(1000) i++ - //[REMOVE LOG CALLS]Log.d(tag, "$i, isAlarmStopped=$isAlarmStopped") + //[REMOVE LOG CALLS]//[REMOVE LOG CALLS]Log.d(tag, "$i, isAlarmStopped=$isAlarmStopped") } } val post: (Any?) -> Unit = { @@ -512,7 +512,7 @@ class RadioService : MediaBrowserServiceCompat() { SystemClock.elapsedRealtime() ) mediaSession.setPlaybackState(playbackStateBuilder.build()) - //[REMOVE LOG CALLS]Log.d(tag, radioTag + "begin playing") + //[REMOVE LOG CALLS]//[REMOVE LOG CALLS]Log.d(tag, radioTag + "begin playing") } private fun pausePlaying() @@ -541,7 +541,7 @@ class RadioService : MediaBrowserServiceCompat() { 1.0f, SystemClock.elapsedRealtime() ) - //[REMOVE LOG CALLS]Log.d(tag, radioTag + "stopped") + //[REMOVE LOG CALLS]//[REMOVE LOG CALLS]Log.d(tag, radioTag + "stopped") mediaSession.setPlaybackState(playbackStateBuilder.build()) } @@ -629,7 +629,7 @@ class RadioService : MediaBrowserServiceCompat() { Player.STATE_ENDED -> state = "Player.STATE_ENDED" Player.STATE_READY -> state = "Player.STATE_READY" } - //[REMOVE LOG CALLS]Log.d(tag, radioTag + "Player changed state: ${state}. numberOfSongs reset.") + //[REMOVE LOG CALLS]//[REMOVE LOG CALLS]Log.d(tag, radioTag + "Player changed state: ${state}. numberOfSongs reset.") } } diff --git a/app/src/main/java/fr/forum_thalie/tsumugi/alarm/RadioAlarm.kt b/app/src/main/java/fr/forum_thalie/tsumugi/alarm/RadioAlarm.kt index b64e8c5..e9307ef 100644 --- a/app/src/main/java/fr/forum_thalie/tsumugi/alarm/RadioAlarm.kt +++ b/app/src/main/java/fr/forum_thalie/tsumugi/alarm/RadioAlarm.kt @@ -97,7 +97,7 @@ class RadioAlarm { calendar.isLenient = true calendar.set(calendar.get(Calendar.YEAR), calendar.get(Calendar.MONTH), calendar.get(Calendar.DAY_OF_MONTH) + i, hourOfDay, minute) - //[REMOVE LOG CALLS]Log.d(tag, calendar.toString()) + //[REMOVE LOG CALLS]//[REMOVE LOG CALLS]Log.d(tag, calendar.toString()) return calendar.timeInMillis diff --git a/app/src/main/java/fr/forum_thalie/tsumugi/alarm/RadioSleeper.kt b/app/src/main/java/fr/forum_thalie/tsumugi/alarm/RadioSleeper.kt index fc5733c..65b0214 100644 --- a/app/src/main/java/fr/forum_thalie/tsumugi/alarm/RadioSleeper.kt +++ b/app/src/main/java/fr/forum_thalie/tsumugi/alarm/RadioSleeper.kt @@ -61,7 +61,7 @@ class RadioSleeper { AlarmManagerCompat.setExactAndAllowWhileIdle(alarmManager, AlarmManager.RTC_WAKEUP, currentMillis + (minutes * 60 * 1000) - (1 * 60 * 1000), fadeOutIntent) sleepAtMillis.value = System.currentTimeMillis() + (minutes * 60 * 1000) - 1 // this -1 allows to round the division for display at the right integer - //[REMOVE LOG CALLS]Log.d(tag, "set sleep to $minutes minutes") + //[REMOVE LOG CALLS]//[REMOVE LOG CALLS]Log.d(tag, "set sleep to $minutes minutes") } } @@ -79,7 +79,7 @@ class RadioSleeper { c.startService(cancelFadeOutIntent) } - //[REMOVE LOG CALLS]Log.d(tag, "cancelled sleep") + //[REMOVE LOG CALLS]//[REMOVE LOG CALLS]Log.d(tag, "cancelled sleep") sleepAtMillis.value = null } } \ No newline at end of file diff --git a/app/src/main/java/fr/forum_thalie/tsumugi/planning/Programme.kt b/app/src/main/java/fr/forum_thalie/tsumugi/planning/Programme.kt index 20b2ccd..abe6ce5 100644 --- a/app/src/main/java/fr/forum_thalie/tsumugi/planning/Programme.kt +++ b/app/src/main/java/fr/forum_thalie/tsumugi/planning/Programme.kt @@ -35,7 +35,7 @@ class Programme (val title: String, private val periodicity: Int, private val ho val isSpanningOverNight = (((0b1000000 shr ((currentDay - 1) % 7) and (periodicity)) != 0) && hourEnd < hourBegin) - //[REMOVE LOG CALLS]Log.d(tag, "$title is today: $isToday or spanning $isSpanningOverNight") + //[REMOVE LOG CALLS]//[REMOVE LOG CALLS]Log.d(tag, "$title is today: $isToday or spanning $isSpanningOverNight") // shr = shift-right. It's a binary mask. // if the program started yesterday, and spanned over night, it means that there could be a chance that it's still active. @@ -87,6 +87,6 @@ class Programme (val title: String, private val periodicity: Int, private val ho */ init { - //[REMOVE LOG CALLS]Log.d(tag, this.toString()) + //[REMOVE LOG CALLS]//[REMOVE LOG CALLS]Log.d(tag, this.toString()) } } \ No newline at end of file diff --git a/app/src/main/java/fr/forum_thalie/tsumugi/playerstore/PlayerStore.kt b/app/src/main/java/fr/forum_thalie/tsumugi/playerstore/PlayerStore.kt index e980ee8..d9ece9d 100644 --- a/app/src/main/java/fr/forum_thalie/tsumugi/playerstore/PlayerStore.kt +++ b/app/src/main/java/fr/forum_thalie/tsumugi/playerstore/PlayerStore.kt @@ -56,7 +56,7 @@ class PlayerStore { lp.add(0, n) currentSongBackup.copy(currentSong) isLpUpdated.value = true - //[REMOVE LOG CALLS]Log.d(tag, playerStoreTag + lp.toString()) + //[REMOVE LOG CALLS]//[REMOVE LOG CALLS]Log.d(tag, playerStoreTag + lp.toString()) //} } diff --git a/app/src/main/java/fr/forum_thalie/tsumugi/ui/news/NewsAdapter.kt b/app/src/main/java/fr/forum_thalie/tsumugi/ui/news/NewsAdapter.kt index 1a4dd11..1ee36b4 100644 --- a/app/src/main/java/fr/forum_thalie/tsumugi/ui/news/NewsAdapter.kt +++ b/app/src/main/java/fr/forum_thalie/tsumugi/ui/news/NewsAdapter.kt @@ -40,7 +40,7 @@ class ImageGetterAsyncTask( override fun doInBackground(vararg params: TextView?): Bitmap? { t = params[0] return try { - ////[REMOVE LOG CALLS]Log.d(LOG_CAT, "Downloading the image from: $source") + ////[REMOVE LOG CALLS]//[REMOVE LOG CALLS]Log.d(LOG_CAT, "Downloading the image from: $source") var k: InputStream? = null var pic: Bitmap? = null try { diff --git a/app/src/main/java/fr/forum_thalie/tsumugi/ui/news/NewsFragment.kt b/app/src/main/java/fr/forum_thalie/tsumugi/ui/news/NewsFragment.kt index 494757f..de74907 100644 --- a/app/src/main/java/fr/forum_thalie/tsumugi/ui/news/NewsFragment.kt +++ b/app/src/main/java/fr/forum_thalie/tsumugi/ui/news/NewsFragment.kt @@ -43,9 +43,9 @@ class NewsFragment : Fragment() { } newsViewModel.isWebViewLoaded = true - //[REMOVE LOG CALLS]Log.d(tag, "webview created") + //[REMOVE LOG CALLS]//[REMOVE LOG CALLS]Log.d(tag, "webview created") } else { - //[REMOVE LOG CALLS]Log.d(tag, "webview already created!?") + //[REMOVE LOG CALLS]//[REMOVE LOG CALLS]Log.d(tag, "webview already created!?") } newsViewModel.root.addOnLayoutChangeListener(orientationLayoutListener) @@ -101,7 +101,7 @@ class NewsFragment : Fragment() { ViewModelProviders.of(this).get(NewsViewModel::class.java) newsViewModel.fetch(c = context!!, isPreloading = true) - //[REMOVE LOG CALLS]Log.d(tag, "news fetched onCreate") + //[REMOVE LOG CALLS]//[REMOVE LOG CALLS]Log.d(tag, "news fetched onCreate") super.onCreate(savedInstanceState) } } \ No newline at end of file diff --git a/app/src/main/java/fr/forum_thalie/tsumugi/ui/news/NewsViewModel.kt b/app/src/main/java/fr/forum_thalie/tsumugi/ui/news/NewsViewModel.kt index 91c553c..f10d0b5 100644 --- a/app/src/main/java/fr/forum_thalie/tsumugi/ui/news/NewsViewModel.kt +++ b/app/src/main/java/fr/forum_thalie/tsumugi/ui/news/NewsViewModel.kt @@ -43,14 +43,14 @@ class NewsViewModel : ViewModel() { val maxNumberOfArticles = 5 coroutineScope.launch(Dispatchers.Main) { - //[REMOVE LOG CALLS]Log.d(tag, "launching coroutine") + //[REMOVE LOG CALLS]//[REMOVE LOG CALLS]Log.d(tag, "launching coroutine") val parser = Parser() try { val articleList = parser.getArticles(urlToScrape) newsArray.clear() for (i in 0 until min(articleList.size, maxNumberOfArticles)) { val item = articleList[i] - //[REMOVE LOG CALLS]Log.d(tag, "i = $i / ${articleList.size}") + //[REMOVE LOG CALLS]//[REMOVE LOG CALLS]Log.d(tag, "i = $i / ${articleList.size}") val news = News() news.title = item.title ?: "" news.link = item.link ?: urlToScrape @@ -60,7 +60,7 @@ class NewsViewModel : ViewModel() { val formatter6 = SimpleDateFormat(newsDateTimePattern, Locale.ENGLISH) val dateString = item.pubDate.toString() - //[REMOVE LOG CALLS]Log.d(tag, "$news --- $dateString") + //[REMOVE LOG CALLS]//[REMOVE LOG CALLS]Log.d(tag, "$news --- $dateString") news.date = formatter6.parse(dateString) ?: Date(0) diff --git a/app/src/main/java/fr/forum_thalie/tsumugi/ui/nowplaying/NowPlayingFragment.kt b/app/src/main/java/fr/forum_thalie/tsumugi/ui/nowplaying/NowPlayingFragment.kt index 108d407..885e4f8 100644 --- a/app/src/main/java/fr/forum_thalie/tsumugi/ui/nowplaying/NowPlayingFragment.kt +++ b/app/src/main/java/fr/forum_thalie/tsumugi/ui/nowplaying/NowPlayingFragment.kt @@ -273,7 +273,7 @@ class NowPlayingFragment : Fragment() { (viewHeight*100)/viewWidth else 100 - //[REMOVE LOG CALLS]Log.d(tag, "orientation set") + //[REMOVE LOG CALLS]//[REMOVE LOG CALLS]Log.d(tag, "orientation set") } override fun onResume() { diff --git a/app/src/main/java/fr/forum_thalie/tsumugi/ui/programme/ProgrammeFragment.kt b/app/src/main/java/fr/forum_thalie/tsumugi/ui/programme/ProgrammeFragment.kt index 2d77c4f..1e08a5a 100644 --- a/app/src/main/java/fr/forum_thalie/tsumugi/ui/programme/ProgrammeFragment.kt +++ b/app/src/main/java/fr/forum_thalie/tsumugi/ui/programme/ProgrammeFragment.kt @@ -41,7 +41,7 @@ class ProgrammeFragment : Fragment() { val tabLayout : TabLayout = root.findViewById(R.id.dayTabLayout) tabLayout.setupWithViewPager(viewPager) - //[REMOVE LOG CALLS]Log.d(tag, "SongFragment view created") + //[REMOVE LOG CALLS]//[REMOVE LOG CALLS]Log.d(tag, "SongFragment view created") return root } diff --git a/app/src/main/java/fr/forum_thalie/tsumugi/ui/songs/SongsFragment.kt b/app/src/main/java/fr/forum_thalie/tsumugi/ui/songs/SongsFragment.kt index d571fab..f1098a6 100644 --- a/app/src/main/java/fr/forum_thalie/tsumugi/ui/songs/SongsFragment.kt +++ b/app/src/main/java/fr/forum_thalie/tsumugi/ui/songs/SongsFragment.kt @@ -39,7 +39,7 @@ class SongsFragment : Fragment() { val tabLayout : TabLayout = root.findViewById(R.id.tabLayout) tabLayout.setupWithViewPager(viewPager) - //[REMOVE LOG CALLS]Log.d(tag, "SongFragment view created") + //[REMOVE LOG CALLS]//[REMOVE LOG CALLS]Log.d(tag, "SongFragment view created") return root } diff --git a/app/src/main/java/fr/forum_thalie/tsumugi/ui/songs/queuelp/LastPlayedFragment.kt b/app/src/main/java/fr/forum_thalie/tsumugi/ui/songs/queuelp/LastPlayedFragment.kt index c97380c..797f72b 100644 --- a/app/src/main/java/fr/forum_thalie/tsumugi/ui/songs/queuelp/LastPlayedFragment.kt +++ b/app/src/main/java/fr/forum_thalie/tsumugi/ui/songs/queuelp/LastPlayedFragment.kt @@ -31,7 +31,7 @@ class LastPlayedFragment : Fragment() { private val queueObserver = Observer { - //[REMOVE LOG CALLS]Log.d(tag, lastPlayedFragmentTag + "queue changed") + //[REMOVE LOG CALLS]//[REMOVE LOG CALLS]Log.d(tag, lastPlayedFragmentTag + "queue changed") viewAdapter.notifyDataSetChanged() }