summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/allapps/AllAppsRecyclerView.java
diff options
context:
space:
mode:
authorPeter Schiller <peterschiller@google.com>2016-07-12 12:45:10 -0700
committerPeter Schiller <peterschiller@google.com>2016-07-13 01:06:09 +0000
commit2e22b5d2de066245f8c8f52343bb2a8b4e8eb563 (patch)
tree223d002f0fc5054c6e1612b9155cce424e5e29ae /src/com/android/launcher3/allapps/AllAppsRecyclerView.java
parente8eaa9c94c5bfb9f103b486b24213e7dd86e8429 (diff)
downloadandroid_packages_apps_Trebuchet-2e22b5d2de066245f8c8f52343bb2a8b4e8eb563.tar.gz
android_packages_apps_Trebuchet-2e22b5d2de066245f8c8f52343bb2a8b4e8eb563.tar.bz2
android_packages_apps_Trebuchet-2e22b5d2de066245f8c8f52343bb2a8b4e8eb563.zip
Fixed header elevation shadow on rotate
Change-Id: I1a4b55cf9af67d93e56d84378036c0061b6e8104
Diffstat (limited to 'src/com/android/launcher3/allapps/AllAppsRecyclerView.java')
-rw-r--r--src/com/android/launcher3/allapps/AllAppsRecyclerView.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/launcher3/allapps/AllAppsRecyclerView.java b/src/com/android/launcher3/allapps/AllAppsRecyclerView.java
index c2be01f9f..93da2976a 100644
--- a/src/com/android/launcher3/allapps/AllAppsRecyclerView.java
+++ b/src/com/android/launcher3/allapps/AllAppsRecyclerView.java
@@ -375,7 +375,7 @@ public class AllAppsRecyclerView extends BaseRecyclerView
}
@Override
- protected int getCurrentScrollY() {
+ public int getCurrentScrollY() {
// Return early if there are no items or we haven't been measured
List<AlphabeticalAppsList.AdapterItem> items = mApps.getAdapterItems();
if (items.isEmpty() || mNumAppsPerRow == 0 || getChildCount() == 0) {