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

Change-Id: I0f03052c630c937f12d52d93dfa680ce8c6a27d0
This commit is contained in:
Joe Onorato
2011-01-07 11:03:54 -08:00
parent 81f573de63
commit 100748e328

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