diff options
Diffstat (limited to 'packages/SystemUI/src/com/android')
-rw-r--r-- | packages/SystemUI/src/com/android/systemui/recent/RecentsHorizontalScrollView.java | 3 | ||||
-rw-r--r-- | packages/SystemUI/src/com/android/systemui/recent/RecentsVerticalScrollView.java | 3 |
2 files changed, 0 insertions, 6 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/recent/RecentsHorizontalScrollView.java b/packages/SystemUI/src/com/android/systemui/recent/RecentsHorizontalScrollView.java index 97c9553..9f801b0 100644 --- a/packages/SystemUI/src/com/android/systemui/recent/RecentsHorizontalScrollView.java +++ b/packages/SystemUI/src/com/android/systemui/recent/RecentsHorizontalScrollView.java @@ -184,7 +184,6 @@ public class RecentsHorizontalScrollView extends HorizontalScrollView mRecycledViews.add(v); mLinearLayout.removeView(v); mCallback.handleSwipe(v); - v.setActivated(false); // Restore the alpha/translation parameters to what they were before swiping // (for when these items are recycled) View contentView = getChildContentView(v); @@ -196,11 +195,9 @@ public class RecentsHorizontalScrollView extends HorizontalScrollView // We do this so the underlying ScrollView knows that it won't get // the chance to intercept events anymore requestDisallowInterceptTouchEvent(true); - v.setActivated(true); } public void onDragCancelled(View v) { - v.setActivated(false); } public View getChildAtPosition(MotionEvent ev) { diff --git a/packages/SystemUI/src/com/android/systemui/recent/RecentsVerticalScrollView.java b/packages/SystemUI/src/com/android/systemui/recent/RecentsVerticalScrollView.java index f4e516c..c1597e0 100644 --- a/packages/SystemUI/src/com/android/systemui/recent/RecentsVerticalScrollView.java +++ b/packages/SystemUI/src/com/android/systemui/recent/RecentsVerticalScrollView.java @@ -191,7 +191,6 @@ public class RecentsVerticalScrollView extends ScrollView mRecycledViews.add(v); mLinearLayout.removeView(v); mCallback.handleSwipe(v); - v.setActivated(false); // Restore the alpha/translation parameters to what they were before swiping // (for when these items are recycled) View contentView = getChildContentView(v); @@ -203,11 +202,9 @@ public class RecentsVerticalScrollView extends ScrollView // We do this so the underlying ScrollView knows that it won't get // the chance to intercept events anymore requestDisallowInterceptTouchEvent(true); - v.setActivated(true); } public void onDragCancelled(View v) { - v.setActivated(false); } public View getChildAtPosition(MotionEvent ev) { |