am 31e4d66a: Merge "DO NOT MERGE" into gingerbread

Merge commit '31e4d66ada01ea0714304309967a38d07bfce6c6' into gingerbread-plus-aosp

* commit '31e4d66ada01ea0714304309967a38d07bfce6c6':
  DO NOT MERGE
This commit is contained in:
Shimeng (Simon) Wang
2010-10-15 18:24:06 -07:00
committed by Android Git Automerger

View File

@@ -71,6 +71,7 @@ class BrowserFrame extends Handler {
// that if the UI thread posts any messages after the message
// queue has been cleared,they are ignored.
private boolean mBlockMessages = false;
private int mOrientation = -1;
// Is this frame the main frame?
private boolean mIsMainFrame;
@@ -473,7 +474,10 @@ class BrowserFrame extends Handler {
}
case ORIENTATION_CHANGED: {
nativeOrientationChanged(msg.arg1);
if (mOrientation != msg.arg1) {
mOrientation = msg.arg1;
nativeOrientationChanged(msg.arg1);
}
break;
}