commit | 0a71b9d83fc425421d7e2105f429b01ae8fe3428 | [log] [tgz] |
---|---|---|
author | Winson Chung <winsonc@google.com> | Thu May 07 11:14:42 2015 -0700 |
committer | Winson Chung <winsonc@google.com> | Thu May 07 11:14:42 2015 -0700 |
tree | 765c4e0222e80c32c150f93142314c7cf19aedbd | |
parent | 83f59abc9c566da5deb98afe7ea35cfb061f2920 [diff] |
Adding abstract methods for new RecyclerView lib. Change-Id: I50c3dfaecd79a87340ed4eeaa3195a26311062e0
diff --git a/src/com/android/launcher3/AppsContainerRecyclerView.java b/src/com/android/launcher3/AppsContainerRecyclerView.java index d91bcea..7f64be2 100644 --- a/src/com/android/launcher3/AppsContainerRecyclerView.java +++ b/src/com/android/launcher3/AppsContainerRecyclerView.java
@@ -187,6 +187,10 @@ handleTouchEvent(ev); } + public void onRequestDisallowInterceptTouchEvent(boolean disallowIntercept) { + // DO NOT REMOVE, NEEDED IMPLEMENTATION FOR M BUILDS + } + /** * Handles the touch event and determines whether to show the fast scroller (or updates it if * it is already showing).
diff --git a/src/com/android/launcher3/widget/WidgetsContainerRecyclerView.java b/src/com/android/launcher3/widget/WidgetsContainerRecyclerView.java index 80e13bc..65694bf 100644 --- a/src/com/android/launcher3/widget/WidgetsContainerRecyclerView.java +++ b/src/com/android/launcher3/widget/WidgetsContainerRecyclerView.java
@@ -87,4 +87,8 @@ public void onTouchEvent(RecyclerView rv, MotionEvent ev) { // Do nothing. } + + public void onRequestDisallowInterceptTouchEvent(boolean disallowIntercept) { + // DO NOT REMOVE, NEEDED IMPLEMENTATION FOR M BUILDS + } } \ No newline at end of file