mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-09-28 05:06:57 -05:00
Android/overlay-haptics: Replace Enum.values() with Enum.entries
This commit is contained in:
@@ -106,7 +106,7 @@ class HapticsProvider(
|
||||
|
||||
private fun areAllPrimitivesSupported(): Boolean {
|
||||
return Build.VERSION.SDK_INT >= Build.VERSION_CODES.S && vibrator.areAllPrimitivesSupported(
|
||||
*HapticEffect.values().map { getPrimitive(it) }.toIntArray()
|
||||
*HapticEffect.entries.map { getPrimitive(it) }.toIntArray()
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user