Merge "Immediately close the shade when the status bar is disabled. (DO NOT MERGE)" into eclair

This commit is contained in:
Daniel Sandler
2010-01-08 12:31:03 -08:00
committed by Android (Google) Code Review

View File

@@ -1672,7 +1672,10 @@ public class StatusBarService extends IStatusBar.Stub
// act accordingly
if ((diff & StatusBarManager.DISABLE_EXPAND) != 0) {
if ((net & StatusBarManager.DISABLE_EXPAND) != 0) {
animateCollapse();
Log.d(TAG, "DISABLE_EXPAND: yes");
mAnimating = false;
updateExpandedViewPos(0);
performCollapse();
}
}
if ((diff & StatusBarManager.DISABLE_NOTIFICATION_ICONS) != 0) {