Merge "Mask out the non public bits, not the public ones." into honeycomb

This commit is contained in:
Joe Onorato
2011-01-31 11:25:06 -08:00
committed by Android (Google) Code Review

View File

@@ -10940,7 +10940,7 @@ public class View implements Drawable.Callback, KeyEvent.Callback, Accessibility
public void dispatchSystemUiVisibilityChanged(int visibility) {
if (mOnSystemUiVisibilityChangeListener != null) {
mOnSystemUiVisibilityChangeListener.onSystemUiVisibilityChange(
visibility & ~PUBLIC_STATUS_BAR_VISIBILITY_MASK);
visibility & PUBLIC_STATUS_BAR_VISIBILITY_MASK);
}
}