Fix app shortcuts click crash

This commit is contained in:
Hemanth S 2020-10-12 20:25:31 +05:30
parent 0ce71b19a8
commit 9dc2da66e1
10 changed files with 37 additions and 38 deletions

View file

@ -6,7 +6,7 @@ import kotlin.math.abs
object PlaylistIdGenerator {
operator fun invoke(name: String, @DrawableRes iconRes: Int): Long {
return -abs(31L * name.hashCode() + iconRes * name.hashCode() * 31L * 31L)
return abs(31L * name.hashCode() + iconRes * name.hashCode() * 31L * 31L)
}
}