From 2d0d65410410185c70b2221bdfa8b4c1e4a175d5 Mon Sep 17 00:00:00 2001 From: Alan Lau Date: Fri, 25 Jul 2014 11:03:48 -0700 Subject: [PATCH] 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 --- samples/wearable/AgendaData/Application/proguard-rules.txt | 2 +- samples/wearable/Flashlight/Wearable/proguard-rules.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/samples/wearable/AgendaData/Application/proguard-rules.txt b/samples/wearable/AgendaData/Application/proguard-rules.txt index 824a322c1..53f713a6b 100644 --- a/samples/wearable/AgendaData/Application/proguard-rules.txt +++ b/samples/wearable/AgendaData/Application/proguard-rules.txt @@ -23,6 +23,6 @@ -keep class android.support.wearable.view.WearableListView { private void setScrollAnimator(int); - private void setScrollVertically(int); + protected void setScrollVertically(int); } diff --git a/samples/wearable/Flashlight/Wearable/proguard-rules.txt b/samples/wearable/Flashlight/Wearable/proguard-rules.txt index 277118ac5..2267fe6a9 100644 --- a/samples/wearable/Flashlight/Wearable/proguard-rules.txt +++ b/samples/wearable/Flashlight/Wearable/proguard-rules.txt @@ -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);