Merge "DO NOT MERGE" into gingerbread
This commit is contained in:
committed by
Android (Google) Code Review
commit
31e4d66ada
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user