Android - ACTION_UP not detected
<p>I am unable to figure out why the ACTION_UP event is not being fired when I move my finger away from contact in the following code.</p>

<pre><code>public boolean onTouch(View v, MotionEvent event) {
        switch(event.getActionIndex()){
        case MotionEvent.ACTION_UP:
            Utils.log("Touch Up");
            break;
        case MotionEvent.ACTION_DOWN:
            Utils.log("Touch Down");
            break;
        }
        return true;
    }
</code></pre>
