Merge "Fix one flag setting bug"

This commit is contained in:
ztenghui
2014-02-13 00:16:36 +00:00
committed by Android (Google) Code Review

View File

@@ -6161,7 +6161,7 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
mPrivateFlags3 |= PFLAG3_FITTING_SYSTEM_WINDOWS;
return !dispatchApplyWindowInsets(new WindowInsets(insets)).hasInsets();
} finally {
mPrivateFlags3 &= PFLAG3_FITTING_SYSTEM_WINDOWS;
mPrivateFlags3 &= ~PFLAG3_FITTING_SYSTEM_WINDOWS;
}
} else {
// We're being called from the newer apply insets path.