Fix app shortcuts click crash
This commit is contained in:
parent
0ce71b19a8
commit
9dc2da66e1
10 changed files with 37 additions and 38 deletions
|
@ -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)
|
||||
}
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue