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

Commit 2f12b935 authored by Steve Kondik's avatar Steve Kondik
Browse files

Shush up the logging.

parent 2d6bb232
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -241,15 +241,11 @@ public abstract class WindowOrientationListener {
			}
			rotation = (orientation >= threshold) ? Surface.ROTATION_270 : Surface.ROTATION_0; 
	           }
		   Log.i("H4X - Section 1: ", "Rotation: " + rotation + " mSensorRotation: " + mSensorRotation);
                } else if ((orientation <= LANDSCAPE_LOWER_2) && (orientation > LP_LOWER_2)){
		    rotation = Surface.ROTATION_270;
	   	    Log.i("H4X - Section 2: ", "Rotation: " + rotation + " mSensorRotation: " + mSensorRotation);
		}
		// End orientation h4x
		Log.i("H4X - Section 3: ", "Rotation: " + rotation + " mSensorRotation: " + mSensorRotation);
                if ((rotation != -1) && (rotation != mSensorRotation)) {
		    Log.i("H4X - Section 4:"," WTF?");
                    mSensorRotation = rotation;
                    onOrientationChanged(mSensorRotation);
                }