summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/WorkspaceStateTransitionAnimation.java
diff options
context:
space:
mode:
authorSunny Goyal <sunnygoyal@google.com>2016-05-20 12:48:10 -0700
committerSunny Goyal <sunnygoyal@google.com>2016-05-20 12:49:59 -0700
commitc487bd34ace268dd8be5480ba884baed6096f76e (patch)
tree76526cfcb23abd0699dd7dfc5a62a7d95831c42a /src/com/android/launcher3/WorkspaceStateTransitionAnimation.java
parent40902b3cb040eb9ed35c174e41bca9feefe41b73 (diff)
downloadandroid_packages_apps_Trebuchet-c487bd34ace268dd8be5480ba884baed6096f76e.tar.gz
android_packages_apps_Trebuchet-c487bd34ace268dd8be5480ba884baed6096f76e.tar.bz2
android_packages_apps_Trebuchet-c487bd34ace268dd8be5480ba884baed6096f76e.zip
Making page indicator an abstract class and implementing some common methods.
Change-Id: I06613428c54f1f086090580db8242cf81f7fb128
Diffstat (limited to 'src/com/android/launcher3/WorkspaceStateTransitionAnimation.java')
-rw-r--r--src/com/android/launcher3/WorkspaceStateTransitionAnimation.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/com/android/launcher3/WorkspaceStateTransitionAnimation.java b/src/com/android/launcher3/WorkspaceStateTransitionAnimation.java
index 38a578c85..e26864087 100644
--- a/src/com/android/launcher3/WorkspaceStateTransitionAnimation.java
+++ b/src/com/android/launcher3/WorkspaceStateTransitionAnimation.java
@@ -357,8 +357,7 @@ public class WorkspaceStateTransitionAnimation {
final ViewGroup overviewPanel = mLauncher.getOverviewPanel();
final View hotseat = mLauncher.getHotseat();
- final View pageIndicator = mWorkspace.getPageIndicator() == null ? null
- : mWorkspace.getPageIndicator().getView();
+ final View pageIndicator = mWorkspace.getPageIndicator();
if (animated) {
LauncherViewPropertyAnimator scale = new LauncherViewPropertyAnimator(mWorkspace);
scale.scaleX(mNewScale)