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:
committed by
Android Git Automerger
commit
d687504e73
@@ -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