frameworks/base/core/java/android/view/OrientationEventListener.java
Index: OrientationEventListener.java
===================================================================
--- OrientationEventListener.java (revision 8257)
+++ OrientationEventListener.java (revision 8258)
@@ -22,7 +22,7 @@
import android.hardware.SensorEventListener;
import android.hardware.SensorManager;
import android.util.Log;
-
+import android.app.ActivityThread;
/**
* Helper class for receiving notifications from the SensorManager when
* the orientation of the device has changed.
@@ -140,6 +140,12 @