OSDN Git Service

Remove a non-obvious fall through in a switch statement.
authorMihail Dumitrescu <mdumitrescu@google.com>
Fri, 3 Jan 2014 12:40:22 +0000 (12:40 +0000)
committerMihail Dumitrescu <mdumitrescu@google.com>
Tue, 7 Jan 2014 18:49:46 +0000 (18:49 +0000)
commit693fbc7f1737d89f11f9ab81558c109f0883ab0e
tree551441e1ff83a24d366d43636b0f0f88858878a1
parent579c8433f968fd8235527865797f8d58c20487da
Remove a non-obvious fall through in a switch statement.

This CL does not modify the result of calling onInterceptHoverEvent()
assuming isEventOverFolder() has no side effects. The only change is
that isEventOverFolder will now be called once rather than twice when
action == MotionEvent.ACTION_HOVER_ENTER and isOverFolder == true.

Change-Id: Icc28ab880cf5094e49f51d72035891e924cb2031
src/com/android/launcher3/DragLayer.java