Commit 9979113
authored
fix(android): use decorView instead of detached View for performAndroidHaptics (#19)
Creating a new View(context) without attaching it to a window causes
performHapticFeedback to silently do nothing. Use the activity's
decorView which is always attached and has haptic feedback enabled.1 parent 349385f commit 9979113
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
132 | 132 | | |
133 | 133 | | |
134 | 134 | | |
135 | | - | |
136 | | - | |
| 135 | + | |
| 136 | + | |
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
| |||
0 commit comments