OSDN Git Service

Stop view dragging the correct way, so we don't end up recycling an in-use bitmap.
authorMarco Nelissen <marcone@google.com>
Fri, 9 Oct 2009 17:35:30 +0000 (10:35 -0700)
committerMarco Nelissen <marcone@google.com>
Fri, 9 Oct 2009 17:42:55 +0000 (10:42 -0700)
(fixes bug 2176573)

src/com/android/music/TouchInterceptor.java

index 6c22e72..d159fb8 100644 (file)
@@ -127,7 +127,7 @@ public class TouchInterceptor extends ListView {
                         mLowerBound = Math.max(y + touchSlop, mHeight * 2 /3);
                         return false;
                     }
-                    mDragView = null;
+                    stopDragging();
                     break;
             }
         }