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

Commit dc419d79 authored by Chris Craik's avatar Chris Craik
Browse files

remove toast from animation benchmark

Change-Id: I9ec2aa57fafbde5875c2f070fe4a33e4d33ee2ae
parent cf15200d
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -23,7 +23,6 @@ import android.util.Log;
import android.webkit.WebSettingsClassic;
import android.webkit.WebView;
import android.webkit.WebViewClassic;
import android.widget.Toast;

import java.util.ArrayList;

@@ -72,10 +71,7 @@ public class ProfiledWebView extends WebView implements WebViewClassic.PageSwapD
            mContext = c;
        }

        /** Show a toast from the web page */
        public void animationComplete() {
            Toast.makeText(mContext, "Animation complete!", Toast.LENGTH_SHORT).show();
            //Log.d(LOGTAG, "anim complete");
            mAnimationTime = System.currentTimeMillis();
        }
    }