Mask out the non public bits, not the public ones.

Bug: 3406103
Change-Id: I44b16700567cb2bf76efe9e8c1f9c82d0eaa8f10
This commit is contained in:
Joe Onorato
2011-01-31 11:21:10 -08:00
parent cb9d4d28be
commit 6ab77bd5b3

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);
}
}