Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5942ccf0 authored by Jean-Baptiste Queru's avatar Jean-Baptiste Queru Committed by Android Git Automerger
Browse files

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

parents f62b6ff9 9eb7a722
Loading
Loading
Loading
Loading
+16 −0
Original line number Diff line number Diff line
@@ -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();
        }
    }
}