Merge "Mark the veto button GONE for ongoing notifications so they can go into its space." into honeycomb

This commit is contained in:
Joe Onorato
2011-01-07 12:08:27 -08:00
committed by Android (Google) Code Review

View File

@@ -1149,7 +1149,11 @@ public class TabletStatusBar extends StatusBar {
}
});
} else {
vetoButton.setVisibility(View.INVISIBLE);
if ((sbn.notification.flags & Notification.FLAG_ONGOING_EVENT) == 0) {
vetoButton.setVisibility(View.INVISIBLE);
} else {
vetoButton.setVisibility(View.GONE);
}
}
// the large icon