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

Commit b49f1356 authored by Daria Evdokimova's avatar Daria Evdokimova Committed by Android (Google) Code Review
Browse files

Merge "Fixed compilation errors for MNC" into ub-deskclock-business

parents 8ad1e50f b21dc85a
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -18,7 +18,6 @@ package com.android.deskclock.widget.sgv;

import android.content.Context;
import android.hardware.SensorManager;
import android.util.FloatMath;
import android.util.Log;
import android.view.ViewConfiguration;
import android.view.animation.AnimationUtils;
@@ -179,7 +178,7 @@ public class OverScrollerSGV {
    public float getCurrVelocity() {
        float squaredNorm = mScrollerX.mCurrVelocity * mScrollerX.mCurrVelocity;
        squaredNorm += mScrollerY.mCurrVelocity * mScrollerY.mCurrVelocity;
        return FloatMath.sqrt(squaredNorm);
        return (float) Math.sqrt(squaredNorm);
    }

    /**