summaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorChet Haase <chet@google.com>2013-10-03 18:02:21 -0700
committerChet Haase <chet@google.com>2013-10-04 14:05:48 -0700
commitaa006133228facf2f9b61e0492fd8f724fac472f (patch)
treee2d1a7b3baa52dec9e33bdc04e8cfbf3689ca381 /packages
parent76a5c86df7902870c87ff07ffd0628cb10f32c00 (diff)
downloadframeworks_base-aa006133228facf2f9b61e0492fd8f724fac472f.zip
frameworks_base-aa006133228facf2f9b61e0492fd8f724fac472f.tar.gz
frameworks_base-aa006133228facf2f9b61e0492fd8f724fac472f.tar.bz2
Enable transitions in lockscreen media controller
Media controller now fades between different states. The code for doing this was already there, but this CL enables them and changes the behavior of transition's OnPreDrawListener to do the right thing. Also, this CL fixes a bug in ChangeText found while testing this change. Issue #11083563 ChangeText transition crashes when KEEP transition type used Change-Id: I5e04c28e1b5faac017b0a4e49734d9faa7fe79cd
Diffstat (limited to 'packages')
-rw-r--r--packages/Keyguard/src/com/android/keyguard/KeyguardTransportControlView.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/Keyguard/src/com/android/keyguard/KeyguardTransportControlView.java b/packages/Keyguard/src/com/android/keyguard/KeyguardTransportControlView.java
index 83d8ab1..45aedbd 100644
--- a/packages/Keyguard/src/com/android/keyguard/KeyguardTransportControlView.java
+++ b/packages/Keyguard/src/com/android/keyguard/KeyguardTransportControlView.java
@@ -63,7 +63,7 @@ public class KeyguardTransportControlView extends FrameLayout {
protected static final boolean DEBUG = false;
protected static final String TAG = "TransportControlView";
- private static final boolean ANIMATE_TRANSITIONS = false;
+ private static final boolean ANIMATE_TRANSITIONS = true;
private ViewGroup mMetadataContainer;
private ViewGroup mInfoContainer;