mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-07 22:40:55 +08:00
Reverted commit D3292369
Reviewed By: andreicoman11 Differential Revision: D3292369 fbshipit-source-id: 1a41d845ff46c44544f37d85e8154557a979a4ff
This commit is contained in:
committed by
Facebook Github Bot 6
parent
1322e06cb2
commit
e491f7d5c6
@@ -81,10 +81,6 @@ public class TouchEventCoalescingKeyHelper {
|
||||
* Stops tracking a new coalescing key corresponding to the gesture with this down time.
|
||||
*/
|
||||
public static void removeCoalescingKey(long downTime) {
|
||||
int currentValue = sDownTimeToCoalescingKey.get((int) downTime, -1);
|
||||
if (currentValue == -1) {
|
||||
throw new RuntimeException("Tried to remove non-existent cookie");
|
||||
}
|
||||
sDownTimeToCoalescingKey.delete((int) downTime);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user