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

Commit 7c8fd157 authored by Chris Craik's avatar Chris Craik Committed by Android (Google) Code Review
Browse files

Merge "remove toast from animation benchmark"

parents 72a9d3f4 dc419d79
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();
        }
    }