diff options
author | Android Build Merger (Role) <noreply-android-build-merger@google.com> | 2018-05-22 18:05:17 +0000 |
---|---|---|
committer | Android Build Merger (Role) <noreply-android-build-merger@google.com> | 2018-05-22 18:05:17 +0000 |
commit | 478c2a1a2e895612999a76f8ef4bddd144f0b1d2 (patch) | |
tree | 5014ffaef01ceade2b1f63ad25739926aeec8b4f /src/com/android/launcher3/allapps | |
parent | e35f5ae0364b27ae0f5d3074b9dfd7d7415b61d5 (diff) | |
parent | 4e21c1b5523fc80545260762a95c5d0f386cb734 (diff) | |
download | android_packages_apps_Trebuchet-478c2a1a2e895612999a76f8ef4bddd144f0b1d2.tar.gz android_packages_apps_Trebuchet-478c2a1a2e895612999a76f8ef4bddd144f0b1d2.tar.bz2 android_packages_apps_Trebuchet-478c2a1a2e895612999a76f8ef4bddd144f0b1d2.zip |
[automerger] Cleanup how we set back button alpha am: 4e21c1b552
Change-Id: Ia3a743ad864d092381a858a6c20d33e162f4f18f
Diffstat (limited to 'src/com/android/launcher3/allapps')
-rw-r--r-- | src/com/android/launcher3/allapps/AllAppsTransitionController.java | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/com/android/launcher3/allapps/AllAppsTransitionController.java b/src/com/android/launcher3/allapps/AllAppsTransitionController.java index b5c821ac2..2c3e3ee7b 100644 --- a/src/com/android/launcher3/allapps/AllAppsTransitionController.java +++ b/src/com/android/launcher3/allapps/AllAppsTransitionController.java @@ -25,11 +25,9 @@ import com.android.launcher3.LauncherState; import com.android.launcher3.LauncherStateManager.AnimationConfig; import com.android.launcher3.LauncherStateManager.StateHandler; import com.android.launcher3.R; -import com.android.launcher3.Utilities; import com.android.launcher3.anim.AnimationSuccessListener; import com.android.launcher3.anim.AnimatorSetBuilder; import com.android.launcher3.anim.PropertySetter; -import com.android.launcher3.uioverrides.UiFactory; import com.android.launcher3.util.Themes; import com.android.launcher3.views.ScrimView; @@ -184,13 +182,6 @@ public class AllAppsTransitionController implements StateHandler, OnDeviceProfil anim.setDuration(config.duration); anim.setInterpolator(builder.getInterpolator(ANIM_VERTICAL_PROGRESS, interpolator)); anim.addListener(getProgressAnimatorListener()); - if (toState.hideBackButton) { - anim.addUpdateListener(animation -> { - final float alpha = (float) animation.getAnimatedValue(); - UiFactory.setBackButtonAlpha(mLauncher, 1 - Utilities.boundToRange(alpha, 0, 1), - false /* animate */); - }); - } builder.play(anim); |