Skip to content

Commit

Permalink
Remove Logging + TAG
Browse files Browse the repository at this point in the history
  • Loading branch information
validcube committed Sep 21, 2024
1 parent bb33d05 commit 6392ced
Showing 1 changed file with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ package app.lawnchair.smartspace.provider
import android.content.Context
import android.content.Intent
import android.content.IntentFilter
import android.util.Log
import app.lawnchair.smartspace.model.SmartspaceAction
import app.lawnchair.smartspace.model.SmartspaceScores
import app.lawnchair.smartspace.model.SmartspaceTarget
Expand All @@ -19,8 +18,6 @@ class PersonalityProvider(context: Context) : SmartspaceDataSource(
R.string.smartspace_personality_provider,
{ smartspacePersonalityProvider }
) {
private val TAG = "SmartspacePersonalityProvider"

private val morningStrings = context.resources.getStringArray(
R.array.smartspace_personality_greetings_morning)
private val eveningStrings = context.resources.getStringArray(
Expand All @@ -39,9 +36,6 @@ class PersonalityProvider(context: Context) : SmartspaceDataSource(
// addAction(Intent.ACTION_SCREEN_ON)
}
).map {
val reason = it.action
Log.d(TAG, "Event Triggered: $reason")

val time = Calendar.getInstance()
listOfNotNull(getSmartspaceTarget(time))
}
Expand All @@ -56,8 +50,6 @@ class PersonalityProvider(context: Context) : SmartspaceDataSource(
else -> return null
}

Log.d(TAG, "Greeting: $greeting at $randomIndex")

/* TODO: We really need target's expiration time which isn't supported on new Smartspace
* ImplRef: LawnchairSmartspaceController.kt @ 10-dev */
return SmartspaceTarget(
Expand Down

0 comments on commit 6392ced

Please sign in to comment.