Bug 943513 - Lazy load animation time. r=lucasr
authorWes Johnston <wjohnston@mozilla.com>
Thu, 05 Dec 2013 22:32:11 -0800
changeset 174811 2c42e70b08c2745d17217405a9863d3e3ea8f684
parent 174810 a5e4cf95c43e924ed8d24ea0783e05674632323b
child 174812 871fab42fa64c317157640777071e65486d87d8d
push id445
push userffxbld
push dateMon, 10 Mar 2014 22:05:19 +0000
treeherdermozilla-release@dc38b741b04e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerslucasr
bugs943513
milestone28.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 943513 - Lazy load animation time. r=lucasr
mobile/android/base/animation/AnimationUtils.java
--- a/mobile/android/base/animation/AnimationUtils.java
+++ b/mobile/android/base/animation/AnimationUtils.java
@@ -4,17 +4,17 @@
  * You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 package org.mozilla.gecko.animation;
 
 import android.content.Context;
 
 public class AnimationUtils {
-    private static long mShortDuration;
+    private static long mShortDuration = -1;
 
     public static long getShortDuration(Context context) {
         if (mShortDuration < 0) {
             mShortDuration = context.getResources().getInteger(android.R.integer.config_shortAnimTime);
         }
         return mShortDuration;
     }
 }