Merge "Fix longpress handler in notifications." into jb-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
39f8889d98
@@ -186,6 +186,7 @@ public class SwipeHelper implements Gefingerpoken {
|
||||
public void removeLongPressCallback() {
|
||||
if (mWatchLongPress != null) {
|
||||
mHandler.removeCallbacks(mWatchLongPress);
|
||||
mWatchLongPress = null;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -245,6 +246,7 @@ public class SwipeHelper implements Gefingerpoken {
|
||||
mCurrView = null;
|
||||
mCurrAnimView = null;
|
||||
mLongPressSent = false;
|
||||
removeLongPressCallback();
|
||||
break;
|
||||
}
|
||||
return mDragging;
|
||||
|
||||
Reference in New Issue
Block a user