@@ -83,15 +83,15 @@ protected void onCreate(Bundle savedInstanceState) {
8383 new GLSurfaceView .Renderer () {
8484 @ Override
8585 public void onSurfaceCreated (GL10 gl , EGLConfig config ) {
86- Log .e (LOGTAG , "In onSurfaceCreated" );
86+ Log .d (LOGTAG , "In onSurfaceCreated" );
8787 activityCreated (getAssets ());
8888 mSurfaceCreated = true ;
8989 notifyPendingEvents ();
9090 }
9191
9292 @ Override
9393 public void onSurfaceChanged (GL10 gl , int width , int height ) {
94- Log .e (LOGTAG , "In onSurfaceChanged" );
94+ Log .d (LOGTAG , "In onSurfaceChanged" );
9595 updateViewport (width , height );
9696 }
9797
@@ -130,7 +130,6 @@ public boolean onTouchEvent(MotionEvent aEvent) {
130130 return false ;
131131 }
132132
133- Log .e (LOGTAG , "real onTouchEvent: " + aEvent .toString ());
134133 final boolean isDown = down ;
135134
136135 final float xx = aEvent .getX (0 );
@@ -150,8 +149,6 @@ public boolean onGenericMotionEvent(MotionEvent aEvent) {
150149 return false ;
151150 }
152151
153- // Log.e(LOGTAG, "real onGenericMotionEvent: " + aEvent.toString());
154-
155152 final float xx = aEvent .getX (0 );
156153 final float yy = aEvent .getY (0 );
157154 queueRunnable (() -> touchEvent (false , xx , yy ));
@@ -160,7 +157,7 @@ public boolean onGenericMotionEvent(MotionEvent aEvent) {
160157
161158 @ Override
162159 protected void onPause () {
163- Log .e (LOGTAG , "PlatformActivity onPause" );
160+ Log .d (LOGTAG , "PlatformActivity onPause" );
164161 synchronized (activityPausedRunnable ) {
165162 queueRunnable (activityPausedRunnable );
166163 try {
@@ -175,7 +172,7 @@ protected void onPause() {
175172
176173 @ Override
177174 protected void onResume () {
178- Log .e (LOGTAG , "PlatformActivity onResume" );
175+ Log .d (LOGTAG , "PlatformActivity onResume" );
179176 super .onResume ();
180177 mView .onResume ();
181178 queueRunnable (activityResumedRunnable );
@@ -184,7 +181,7 @@ protected void onResume() {
184181
185182 @ Override
186183 protected void onDestroy () {
187- Log .e (LOGTAG , "PlatformActivity onDestroy" );
184+ Log .d (LOGTAG , "PlatformActivity onDestroy" );
188185 super .onDestroy ();
189186 synchronized (activityDestroyedRunnable ) {
190187 queueRunnable (activityDestroyedRunnable );
@@ -261,10 +258,10 @@ private void setupUI() {
261258
262259 private void updateUI (final int aMode ) {
263260 if (aMode == 0 ) {
264- Log .e (LOGTAG , "Got render mode of Stand Alone" );
261+ Log .d (LOGTAG , "Got render mode of Stand Alone" );
265262 findViewById (R .id .click_button ).setVisibility (View .GONE );
266263 } else {
267- Log .e (LOGTAG , "Got render mode of Immersive" );
264+ Log .d (LOGTAG , "Got render mode of Immersive" );
268265 findViewById (R .id .click_button ).setVisibility (View .VISIBLE );
269266 }
270267 }
0 commit comments