Info Call to Random API

Description

List of all calls to methods that return pseudo-random values.

Recommendation

Do not seed Random with the current time because that value is more predictable to an attacker than the default seed.

The java.util.Random class must not be used either for security-critical applications or for protecting sensitive data. Use a more secure random number generator, such as the java.security.SecureRandom class.

Technical details

Method com.millennialmedia.android.MMAdView$MMAdViewMMAdImpl$2.run() calling method java.util.Random.<init>()


    public void run()
    {
        int v3 = this.this$1.this$0.transitionType;
        if (v3 == 4) {
            v3 = new java.util.Random().nextInt(4);
        }
        android.view.animation.TranslateAnimation v0_1;
        switch (v3) {
            case 2:
                v0_1 = new android.view.animation.TranslateAnimation(0, 0, 0, (- ((float) this.this$1.this$0.getHeight())));
                break;
            case 3:
                v0_1 = new android.view.animation.TranslateAnimation(0, 0, 0, ((float) this.this$1.this$0.getHeight()));
                break;
            default:
                v0_1 = new android.view.animation.AlphaAnimation(1065353216, 0);
        }
        v0_1.setDuration(1000);
        v0_1.setAnimationListener(this.this$1.this$0);
        v0_1.setFillEnabled(1);
        v0_1.setFillBefore(1);
        v0_1.setFillAfter(1);
        this.this$1.this$0.refreshAnimationimageView.startAnimation(v0_1);
        return;
    }