Change setScrollVertically to protected to make scroll work in subclasses.

setScrollVertically is called by the animator and if it has no access to the
method in the subclass.  This will allow 3P app to extend the view.

Change-Id: I976355168fe1ed4e1f70b66aaab27ca16214dc05
This commit is contained in:
Alan Lau
2014-07-25 11:03:48 -07:00
parent 7003893fce
commit 2d0d654104
2 changed files with 2 additions and 2 deletions

View File

@@ -23,6 +23,6 @@
-keep class android.support.wearable.view.WearableListView {
private void setScrollAnimator(int);
private void setScrollVertically(int);
protected void setScrollVertically(int);
}

View File

@@ -11,7 +11,7 @@
-keep class android.support.wearable.view.WearableListView {
private void setScrollAnimator(int);
private void setScrollVertically(int);
protected void setScrollVertically(int);
}
-keep class android.support.wearable.view.WearableListView.ViewHolder {
private void setFocusPaddingTop(int);