Merge "Ensure status bar color gets set" into lmp-dev
diff --git a/src/com/android/contacts/quickcontact/QuickContactActivity.java b/src/com/android/contacts/quickcontact/QuickContactActivity.java
index a0ed7f8..43066d6 100644
--- a/src/com/android/contacts/quickcontact/QuickContactActivity.java
+++ b/src/com/android/contacts/quickcontact/QuickContactActivity.java
@@ -1350,13 +1350,11 @@
desiredStatusBarColor = Color.TRANSPARENT;
}
// Animate to the new color.
- if (desiredStatusBarColor != getWindow().getStatusBarColor()) {
- final ObjectAnimator animation = ObjectAnimator.ofInt(getWindow(), "statusBarColor",
- getWindow().getStatusBarColor(), desiredStatusBarColor);
- animation.setDuration(ANIMATION_STATUS_BAR_COLOR_CHANGE_DURATION);
- animation.setEvaluator(new ArgbEvaluator());
- animation.start();
- }
+ final ObjectAnimator animation = ObjectAnimator.ofInt(getWindow(), "statusBarColor",
+ getWindow().getStatusBarColor(), desiredStatusBarColor);
+ animation.setDuration(ANIMATION_STATUS_BAR_COLOR_CHANGE_DURATION);
+ animation.setEvaluator(new ArgbEvaluator());
+ animation.start();
}
private int colorFromBitmap(Bitmap bitmap) {