Making page indicator an abstract class and implementing some common methods.

Change-Id: I06613428c54f1f086090580db8242cf81f7fb128
This commit is contained in:
Sunny Goyal
2016-05-20 12:48:10 -07:00
parent 40902b3cb0
commit c487bd34ac
8 changed files with 43 additions and 62 deletions

View File

@@ -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)