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

Commit c5daa179 authored by Guang Zhu's avatar Guang Zhu Committed by Android (Google) Code Review
Browse files

Revert "log stack trace when finish() or onDestroy() is called"


We are already clear on why it's happening (phantom touches) so reverting this log.

This reverts commit 0882eb05
parent 0882eb05
Loading
Loading
Loading
Loading
+1 −13
Original line number Diff line number Diff line
@@ -286,23 +286,11 @@ public class TestShellActivity extends Activity implements LayoutTestController
        mWebView.stopLoading();
    }


    //TODO: remove. this is temporary for bug investigation
    @Override
    public void finish() {
      Exception e = new Exception("finish() call stack");
      Log.d(LOGTAG, "finish stack trace", e);
      super.finish();
    }

    @Override
    protected void onDestroy() {
        //TODO: remove exception log. this is temporary for bug investigation
        Exception e = new Exception("onDestroy stack trace");
        Log.d(LOGTAG, "onDestroy stack trace", e);
        super.onDestroy();
        mWebView.destroy();
        mWebView = null;
        super.onDestroy();
    }

    @Override