diff --git a/app/src/noapi/java/org/mozilla/vrbrowser/PlatformActivity.java b/app/src/noapi/java/org/mozilla/vrbrowser/PlatformActivity.java index 9630dbe13..b29f7c35d 100644 --- a/app/src/noapi/java/org/mozilla/vrbrowser/PlatformActivity.java +++ b/app/src/noapi/java/org/mozilla/vrbrowser/PlatformActivity.java @@ -81,7 +81,7 @@ protected void onCreate(Bundle savedInstanceState) { new GLSurfaceView.Renderer() { @Override public void onSurfaceCreated(GL10 gl, EGLConfig config) { - Log.e(LOGTAG, "In onSurfaceCreated"); + Log.d(LOGTAG, "In onSurfaceCreated"); activityCreated(getAssets()); mSurfaceCreated = true; notifyPendingEvents(); @@ -89,7 +89,7 @@ public void onSurfaceCreated(GL10 gl, EGLConfig config) { @Override public void onSurfaceChanged(GL10 gl, int width, int height) { - Log.e(LOGTAG, "In onSurfaceChanged"); + Log.d(LOGTAG, "In onSurfaceChanged"); updateViewport(width, height); } @@ -128,7 +128,6 @@ public boolean onTouchEvent(MotionEvent aEvent) { return false; } - Log.e(LOGTAG, "real onTouchEvent: " + aEvent.toString()); final boolean isDown = down; final float xx = aEvent.getX(0); @@ -148,8 +147,6 @@ public boolean onGenericMotionEvent(MotionEvent aEvent) { return false; } - // Log.e(LOGTAG, "real onGenericMotionEvent: " + aEvent.toString()); - final float xx = aEvent.getX(0); final float yy = aEvent.getY(0); queueRunnable(() -> touchEvent(false, xx, yy)); @@ -158,7 +155,7 @@ public boolean onGenericMotionEvent(MotionEvent aEvent) { @Override protected void onPause() { - Log.e(LOGTAG, "PlatformActivity onPause"); + Log.d(LOGTAG, "PlatformActivity onPause"); synchronized (activityPausedRunnable) { queueRunnable(activityPausedRunnable); try { @@ -173,7 +170,7 @@ protected void onPause() { @Override protected void onResume() { - Log.e(LOGTAG, "PlatformActivity onResume"); + Log.d(LOGTAG, "PlatformActivity onResume"); super.onResume(); mView.onResume(); queueRunnable(activityResumedRunnable); @@ -182,7 +179,7 @@ protected void onResume() { @Override protected void onDestroy() { - Log.e(LOGTAG, "PlatformActivity onDestroy"); + Log.d(LOGTAG, "PlatformActivity onDestroy"); super.onDestroy(); synchronized (activityDestroyedRunnable) { queueRunnable(activityDestroyedRunnable); @@ -259,10 +256,10 @@ private void setupUI() { private void updateUI(final int aMode) { if (aMode == 0) { - Log.e(LOGTAG, "Got render mode of Stand Alone"); + Log.d(LOGTAG, "Got render mode of Stand Alone"); findViewById(R.id.click_button).setVisibility(View.GONE); } else { - Log.e(LOGTAG, "Got render mode of Immersive"); + Log.d(LOGTAG, "Got render mode of Immersive"); findViewById(R.id.click_button).setVisibility(View.VISIBLE); } }