Converting some anonymous classes to lambda calls

Change-Id: I386046a4a515d84801a8bbd11cfa090ba7adfd71
This commit is contained in:
Sunny Goyal
2020-03-06 15:16:22 -08:00
parent f67ab6c64d
commit 4c9ee63540
8 changed files with 41 additions and 50 deletions
@@ -224,12 +224,7 @@ public class AllAppsTransitionController implements StateHandler, OnDeviceProfil
}
public AnimatorListenerAdapter getProgressAnimatorListener() {
return new AnimationSuccessListener() {
@Override
public void onAnimationSuccess(Animator animator) {
onProgressAnimationEnd();
}
};
return AnimationSuccessListener.forRunnable(this::onProgressAnimationEnd);
}
public void setupViews(AllAppsContainerView appsView) {