am 9eb7a722: resolved conflicts for merge of f7fb5331 to kraken

This commit is contained in:
Jean-Baptiste Queru
2010-05-17 14:52:21 -07:00
committed by Android Git Automerger

View File

@@ -947,4 +947,20 @@ public class ProgressBar extends View {
setProgress(ss.progress);
setSecondaryProgress(ss.secondaryProgress);
}
@Override
protected void onAttachedToWindow() {
super.onAttachedToWindow();
if (mIndeterminate) {
startAnimation();
}
}
@Override
protected void onDetachedFromWindow() {
super.onDetachedFromWindow();
if (mIndeterminate) {
stopAnimation();
}
}
}