Reverted commit D3292369

Reviewed By: andreicoman11

Differential Revision: D3292369

fbshipit-source-id: 1a41d845ff46c44544f37d85e8154557a979a4ff
This commit is contained in:
Dave Miller
2016-05-13 04:26:46 -07:00
committed by Facebook Github Bot 6
parent 1322e06cb2
commit e491f7d5c6
2 changed files with 1 additions and 5 deletions

View File

@@ -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);
}
}