From 08d8bb9cde705ef66561fb2dbed0af7af2632812 Mon Sep 17 00:00:00 2001 From: Jon Miranda Date: Wed, 15 Mar 2017 11:01:29 -0700 Subject: Temporary fix for Widgets in battery saver mode. Bug: 36246234 Bug: 36240579 Change-Id: Iced0ea87333011aef1dbdadd0036427207e377d9 --- src/com/android/launcher3/LauncherStateTransitionAnimation.java | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/com/android/launcher3/LauncherStateTransitionAnimation.java') diff --git a/src/com/android/launcher3/LauncherStateTransitionAnimation.java b/src/com/android/launcher3/LauncherStateTransitionAnimation.java index 39c466db8..1acc3b80a 100644 --- a/src/com/android/launcher3/LauncherStateTransitionAnimation.java +++ b/src/com/android/launcher3/LauncherStateTransitionAnimation.java @@ -334,6 +334,12 @@ public class LauncherStateTransitionAnimation { // This can hold unnecessary references to views. cleanupAnimation(); pCb.onTransitionComplete(); + + revealView.setAlpha(1f); + revealView.setTranslationX(0f); + revealView.setTranslationY(0f); + contentView.setAlpha(1f); + contentView.setTranslationY(0f); } }); -- cgit v1.2.3